diff --git a/modules/home/wm/default.nix b/modules/home/wm/default.nix index 7cb8075..ee9360c 100644 --- a/modules/home/wm/default.nix +++ b/modules/home/wm/default.nix @@ -4,6 +4,7 @@ ./hyprland ./aerospace ./niri + ./noctalia ]; } diff --git a/modules/home/wm/noctalia/default.nix b/modules/home/wm/noctalia/default.nix new file mode 100644 index 0000000..759364a --- /dev/null +++ b/modules/home/wm/noctalia/default.nix @@ -0,0 +1,28 @@ +{ + inputs, + lib, + pkgs, + config, + ... +}: +with lib; +let + cfg = config.nyx.noctalia; +in +{ + options.nyx.noctalia = { + enable = mkEnableOption "Noctalia Desktop Shell"; + }; + config = mkIf (cfg.enable && pkgs.stdenv.isLinux) { + + imports = [ + inputs.noctalia.homeModules.default + ]; + + programs.noctalia.enable = true; + + home.file.".config/noctalia/".source = + config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nyx/modules/home/wm/noctalia/config"; + + }; +} diff --git a/users/suri/Styx.nix b/users/suri/Styx.nix index f84d724..4066aff 100644 --- a/users/suri/Styx.nix +++ b/users/suri/Styx.nix @@ -1,14 +1,19 @@ -{ inputs, config, ... }: +{ ... }: { imports = [ - inputs.noctalia.homeModules.default ./common.nix ]; + # cli nyx.oh-my-posh.enable = true; nyx.fish.enable = true; nyx.zellij.enable = true; + + # desktop nyx.niri.enable = true; + nyx.noctalia.enable = true; + + # apps nyx.ghostty.enable = true; nyx.zed.enable = true; @@ -16,16 +21,4 @@ COLORTERM = "truecolor"; }; - programs.noctalia = { - enable = true; - - settings = { - theme = { - mode = "dark"; - source = "builtin"; - builtin = "Catppuccin"; - }; - }; - }; - }