Skip to content

Commit

Permalink
feat(nix): add aerospace module
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Aug 12, 2024
1 parent 4eed7c0 commit 4285b7a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions nix/modules/darwin/desktop/aerospace/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
lib,
config,
...
}:
with lib;
with lib.custom; let
cfg = config.custom.desktop.aerospace;
in {
options.custom.desktop.addons.aerospace = {
enable = mkEnableOption "Enable tiling window manager aerospace.";
};

config = mkIf cfg.enable {
homebrew = {
taps = ["nikitabobko/tap"];
casks = ["nikitabobko/tap/aerospace"];
};
};
}
2 changes: 1 addition & 1 deletion nix/systems/aarch64-darwin/mbp16/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib.custom; {
virt-manager = disabled;
};

desktop.yabai = disabled;
desktop.aerospace = enabled;
desktop.addons.wezterm = enabled;
};

Expand Down

0 comments on commit 4285b7a

Please sign in to comment.