From 1ed596c638997f28dd91375d01c9aee8c5d535be Mon Sep 17 00:00:00 2001 From: damidoug Date: Fri, 14 Nov 2025 21:03:57 +0100 Subject: [PATCH] aerospace: remove extraConfig, use settings instead --- modules/programs/aerospace.nix | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/modules/programs/aerospace.nix b/modules/programs/aerospace.nix index 981d8d4d6..178f9057f 100644 --- a/modules/programs/aerospace.nix +++ b/modules/programs/aerospace.nix @@ -50,6 +50,12 @@ in [ "programs" "aerospace" "userSettings" ] [ "programs" "aerospace" "settings" ] ) + + (lib.mkRemovedOptionModule [ + "programs" + "aerospace" + "extraConfig" + ] "This option has been removed. Please use 'programs.aerospace.settings' instead.") ]; options.programs.aerospace = { @@ -94,23 +100,6 @@ in }; }; - extraConfig = mkOption { - type = types.lines; - default = ""; - description = '' - Extra configuration to append to the aerospace.toml file. - This allows you to add raw TOML content, including multiline strings. - ''; - example = lib.literalExpression '' - alt-enter = ''''exec-and-forget osascript -e ' - tell application "Terminal" - do script - activate - end tell' - '''' - ''; - }; - settings = mkOption { inherit (tomlFormat) type; default = { };