mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
fix(aerospace): allow startup commands
This commit is contained in:
parent
e7a71f8ec5
commit
9a59556018
1 changed files with 2 additions and 5 deletions
|
@ -36,7 +36,8 @@ in
|
||||||
after-startup-command = lib.mkOption {
|
after-startup-command = lib.mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "Do not use AeroSpace to run commands after startup. (Managed by launchd instead)";
|
description = "Add commands that run after AeroSpace startup";
|
||||||
|
example = [ "layout tiles" ];
|
||||||
};
|
};
|
||||||
enable-normalization-flatten-containers = lib.mkOption {
|
enable-normalization-flatten-containers = lib.mkOption {
|
||||||
type = bool;
|
type = bool;
|
||||||
|
@ -142,10 +143,6 @@ in
|
||||||
assertion = cfg.settings.after-login-command == [ ];
|
assertion = cfg.settings.after-login-command == [ ];
|
||||||
message = "AeroSpace will not run these commands as it does not start itself.";
|
message = "AeroSpace will not run these commands as it does not start itself.";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
assertion = cfg.settings.after-startup-command == [ ];
|
|
||||||
message = "AeroSpace will not run these commands as it does not start itself.";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue