diff options
Diffstat (limited to 'nixos/modules/services/x11/window-managers/default.nix')
-rw-r--r-- | nixos/modules/services/x11/window-managers/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/window-managers/default.nix b/nixos/modules/services/x11/window-managers/default.nix index c201b789ae4..e856a9e2079 100644 --- a/nixos/modules/services/x11/window-managers/default.nix +++ b/nixos/modules/services/x11/window-managers/default.nix @@ -40,10 +40,10 @@ in }; default = mkOption { + type = types.uniq types.string; default = "none"; example = "wmii"; description = "Default window manager loaded if none have been chosen."; - merge = mergeOneOption; apply = defaultWM: if any (w: w.name == defaultWM) cfg.session then defaultWM |