diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/default.nix | 2 | ||||
-rw-r--r-- | modules/programs/default.nix | 5 | ||||
-rw-r--r-- | modules/programs/sway/default.nix | 26 |
3 files changed, 1 insertions, 32 deletions
diff --git a/modules/default.nix b/modules/default.nix index d08b890..b248c51 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,7 +1,7 @@ { lib, ... }: { - imports = [ ./system ./services ./programs ./secrets ]; + imports = [ ./system ./services ./secrets ]; options.my = with lib; { user = { diff --git a/modules/programs/default.nix b/modules/programs/default.nix deleted file mode 100644 index 2de6855..0000000 --- a/modules/programs/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: - -{ - imports = [ ./sway ]; -} diff --git a/modules/programs/sway/default.nix b/modules/programs/sway/default.nix deleted file mode 100644 index afb3204..0000000 --- a/modules/programs/sway/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ pkgs, config, lib, ... }: -let cfg = config.my.programs.sway; -in -{ - options.my.programs.sway = with lib; { - enable = mkEnableOption "sway configuration"; - }; - - config = lib.mkIf cfg.enable { - programs.sway = { - enable = true; - wrapperFeatures.gtk = true; - extraPackages = with pkgs; [ - brightnessctl - polkit_gnome - xsettingsd - swaylock - swayidle - wl-clipboard - ]; - extraSessionCommands = '' - export MOZ_ENABLE_WAYLAND=1 - ''; - }; - }; -} |