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

aerospace: rename userSettings → settings

This commit is contained in:
damidoug 2025-11-14 20:16:08 +01:00 committed by Austin Horstman
parent 23f2ba7ae0
commit f302550865

View file

@ -39,6 +39,13 @@ in
{
meta.maintainers = with lib.maintainers; [ damidoug ];
imports = [
(lib.mkRenamedOptionModule
[ "programs" "aerospace" "userSettings" ]
[ "programs" "aerospace" "settings" ]
)
];
options.programs.aerospace = {
enable = lib.mkEnableOption "AeroSpace window manager";
@ -98,7 +105,7 @@ in
'';
};
userSettings = mkOption {
settings = mkOption {
inherit (tomlFormat) type;
default = { };
example = lib.literalExpression ''
@ -137,7 +144,7 @@ in
let
generatedConfig = tomlFormat.generate "aerospace" (
filterNulls (
cfg.userSettings
cfg.settings
// lib.optionalAttrs cfg.launchd.enable {
# Override these to avoid launchd conflicts
start-at-login = false;