Skip to content

Commit

Permalink
fix(aerospace): allow startup commands
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Dec 4, 2024
1 parent e7a71f8 commit 9a59556
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/services/aerospace/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ in
after-startup-command = lib.mkOption {
type = listOf str;
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 {
type = bool;
Expand Down Expand Up @@ -142,10 +143,6 @@ in
assertion = cfg.settings.after-login-command == [ ];
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 ];

Expand Down

0 comments on commit 9a59556

Please sign in to comment.