Skip to content

Commit

Permalink
squash! aerospace: fix on-window-detected
Browse files Browse the repository at this point in the history
  • Loading branch information
talhaHavadar committed Dec 2, 2024
1 parent 0a3df54 commit 7f5231c
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions modules/services/aerospace/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ let

format = pkgs.formats.toml { };
configFile = format.generate "aerospace.toml" cfg.settings;
callbackConf =
with lib.types;
oneOf [
bool
int
float
str
path
attrs
]
// {
description = "AeroSpace config callback (bool, int, float, str, path or attrs)";
};

in

{
Expand Down Expand Up @@ -85,7 +71,7 @@ in
description = "Default orientation for the root container.";
};
on-window-detected = lib.mkOption {
type = listOf (attrsOf (either callbackConf (listOf callbackConf)));
type = listOf (attrsOf anything);
default = [ ];
description = "Commands to run every time a new window is detected.";
example = [
Expand Down

0 comments on commit 7f5231c

Please sign in to comment.