diff --git a/modules/home/wm/default.nix b/modules/home/wm/default.nix index 91c032b..58855f4 100644 --- a/modules/home/wm/default.nix +++ b/modules/home/wm/default.nix @@ -20,7 +20,7 @@ in options.my.home.wm = with lib; { windowManager = mkOption { - type = with types; nullOr (enum [ "i3" ]); + type = with types; nullOr (enum [ ]); default = null; example = "i3"; description = "Which window manager to use for home session"; diff --git a/modules/home/wm/i3/default.nix b/modules/home/wm/i3/default.nix index 05b202c..1943071 100644 --- a/modules/home/wm/i3/default.nix +++ b/modules/home/wm/i3/default.nix @@ -56,6 +56,12 @@ let ''; in { + options.my.home.wm = with lib; { + windowManager = mkOption { + type = with types; nullOr (enum [ "i3" ]); + }; + }; + config = lib.mkIf isEnabled { home.packages = with pkgs; [ ambroisie.dragger # drag-and-drop from the CLI