diff options
Diffstat (limited to 'home/wm')
-rw-r--r-- | home/wm/default.nix | 2 | ||||
-rw-r--r-- | home/wm/gnome/default.nix | 17 |
2 files changed, 1 insertions, 18 deletions
diff --git a/home/wm/default.nix b/home/wm/default.nix index 92d450a..ecf8bf3 100644 --- a/home/wm/default.nix +++ b/home/wm/default.nix @@ -1,6 +1,6 @@ { lib, ... }: { - imports = [ ./sway ./waybar ./mako ./swaylock ./wofi ./gammastep ./gnome ]; + imports = [ ./sway ./waybar ./mako ./swaylock ./wofi ./gammastep ]; options.my.home.wm = with lib; { windowManager = mkOption { type = with types; nullOr (enum [ "sway" ]); diff --git a/home/wm/gnome/default.nix b/home/wm/gnome/default.nix deleted file mode 100644 index 0b14a0b..0000000 --- a/home/wm/gnome/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ config, lib, pkgs, ... }: -let - isEnabled = config.my.home.wm.windowManager == "sway"; -in -{ - config = lib.mkIf isEnabled { - home.packages = with pkgs; [ gnome.gnome-keyring ]; - services.gnome-keyring = { - enable = true; - components = [ - "pkcs11" - "secrets" - "ssh" - ]; - }; - }; -} |