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:
parent
9f31ea236b
commit
1ed596c638
1 changed files with 6 additions and 17 deletions
|
|
@ -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 = { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue