aboutsummaryrefslogtreecommitdiff
path: root/profiles/wm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/wm/default.nix')
-rw-r--r--profiles/wm/default.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/profiles/wm/default.nix b/profiles/wm/default.nix
deleted file mode 100644
index 7b1fe39..0000000
--- a/profiles/wm/default.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ config, lib, ... }:
-let cfg = config.my.profiles.wm;
-in {
- options.my.profiles.wm = with lib; {
- windowManager = mkOption {
- type = with types; nullOr (enum [ "sway" ]);
- default = null;
- example = "sway";
- description = "Which window manager to use";
- };
- };
- config = lib.mkMerge [
- (lib.mkIf (cfg.windowManager == "sway") {
- # Enable sway
- my.home.wm.windowManager = "sway";
- })
- ];
-}