1
0
Fork 0
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:
z0al 2024-12-04 19:03:03 +00:00
parent e7a71f8ec5
commit 9a59556018
No known key found for this signature in database

View file

@ -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 ];