1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

aerospace: remove extraConfig, use settings instead

This commit is contained in:
damidoug 2025-11-14 21:03:57 +01:00 committed by Austin Horstman
parent 9f31ea236b
commit 1ed596c638

View file

@ -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 = { };