diff --git a/modules/programs/aerospace.nix b/modules/programs/aerospace.nix index 10bb75e3d..62f33752f 100644 --- a/modules/programs/aerospace.nix +++ b/modules/programs/aerospace.nix @@ -154,8 +154,9 @@ in { "Commands to run every time a new window is detected with optional conditions."; }; workspace-to-monitor-force-assignment = mkOption { - type = with types; attrsOf (oneOf [ int str (listOf str) ]); - default = { }; + type = with types; + nullOr (attrsOf (oneOf [ int str (listOf str) ])); + default = null; description = '' Map workspaces to specific monitors. Left-hand side is the workspace name, and right-hand side is the monitor pattern. diff --git a/tests/modules/programs/aerospace/settings-expected.toml b/tests/modules/programs/aerospace/settings-expected.toml index d38cba45e..b46ebad41 100644 --- a/tests/modules/programs/aerospace/settings-expected.toml +++ b/tests/modules/programs/aerospace/settings-expected.toml @@ -25,5 +25,3 @@ alt-h = "focus left" alt-j = "focus down" alt-k = "focus up" alt-l = "focus right" - -[workspace-to-monitor-force-assignment]