diff --git a/modules/home/shell/default.nix b/modules/home/shell/default.nix index 73c624b..bef840d 100644 --- a/modules/home/shell/default.nix +++ b/modules/home/shell/default.nix @@ -1,6 +1,9 @@ { imports = [ ./stylix.nix + + ./xorg.nix + ./gtk.nix ./qt.nix ]; diff --git a/modules/home/shell/xorg.nix b/modules/home/shell/xorg.nix new file mode 100644 index 0000000..ac7ae3a --- /dev/null +++ b/modules/home/shell/xorg.nix @@ -0,0 +1,15 @@ +{ + lib, + config, + ... +}: { + options.marleyos.xorg.enable = lib.mkEnableOption "xorg"; + + config = lib.mkIf config.marleyos.xorg.enable { + xsession = { + enable = true; + + numlock.enable = true; + }; + }; +} diff --git a/snowflake/modules/home/xorg/default.nix b/snowflake/modules/home/xorg/default.nix deleted file mode 100644 index c58300f..0000000 --- a/snowflake/modules/home/xorg/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.marleyos.xorg; -in { - options.marleyos.xorg.enable = lib.mkEnableOption "xorg"; - - # config = lib.mkIf cfg.enable { - # - # }; -} diff --git a/snowflake/modules/home/xorg/xsession/default.nix b/snowflake/modules/home/xorg/xsession/default.nix deleted file mode 100644 index 4eecb4c..0000000 --- a/snowflake/modules/home/xorg/xsession/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ - lib, - config, - ... -}: let - cfg = config.marleyos.xorg.xsession; -in { - options.marleyos.xorg.xsession.enable = lib.mkEnableOption "xsession"; - - config = lib.mkIf cfg.enable { - xsession = { - enable = true; - - numlock.enable = true; - }; - }; -}