proper dendritifcation progress

This commit is contained in:
serenity-F 2026-09-17 20:26:57 +10:00
parent f9303305c9
commit 35979521f9
No known key found for this signature in database
10 changed files with 243 additions and 205 deletions

View file

@ -1,19 +1,45 @@
{ self, inputs, ... }: {
{ inputs, ... }: {
perSystem = { pkgs, ... }: {
flake.nixosModules.noctalia =
{ config, lib, ... }:
# defines a custom noctalia package
packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
let
username = config.userOptions.username;
hostName = config.userOptions.hostName;
wallpaper = config.userOptions.wallpaper;
in
# use global packages
inherit pkgs;
{
# use a separate json file to configure
# nixify this.
settings = (builtins.fromJSON (builtins.readFile ./noctalia.json)).settings;
# for home manager functionality
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager.users.${username} = {
imports = [ inputs.noctalia.homeModules.default ];
programs.noctalia-shell = {
# enables noctalia
enable = true;
systemd.enable = true;
# noctalia settings
settings = {
general = { };
location = { };
colorSchemes.predefinedscheme = "foobar";
dock = {
enabled = false;
};
bar = { };
};
};
};
};
};
}