summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-12-05 09:29:39 +1100
committerGitHub <noreply@github.com>2024-12-05 09:29:39 +1100
commit55d07816a0944f06a9df5ef174999a72fa4060c7 (patch)
tree584fe042884eb24f8685232b17f6ba19bec437c1 /modules
parente7a71f8ec55564f54791e0bd9274f2910c86f8f2 (diff)
parent55d46b8997e16e52d8a05232f4444124e04ba686 (diff)
Merge pull request #1213 from z0al/aerospace-startup-commands
fix(aerospace): allow startup commands
Diffstat (limited to 'modules')
-rw-r--r--modules/services/aerospace/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/services/aerospace/default.nix b/modules/services/aerospace/default.nix
index 50d47b3..531e7b2 100644
--- a/modules/services/aerospace/default.nix
+++ b/modules/services/aerospace/default.nix
@@ -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;
@@ -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 ];