mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 09:29:41 +08:00
aerospace: remove extraConfig, use settings instead
This commit is contained in:
committed by
Austin Horstman
parent
9f31ea236b
commit
1ed596c638
@@ -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 = { };
|
||||
|
||||
Reference in New Issue
Block a user