nix: add yabai + skhd

master
Elias Almqvist 6 months ago
parent c492a26970
commit e07320c9fb
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 32
      nix-darwin/home.nix

@ -77,6 +77,10 @@
# Tools
nmap
dig
# DE/WM/Ricing
yabai # wm
skhd # key mngr
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
@ -154,4 +158,32 @@
vimAlias = true;
defaultEditor = true;
};
# Services
# yabai (wm)
services.yabai = {
enable = true;
package = pkgs.yabai;
config = {
layout = "bsp";
auto_balance = "on";
split_ratio = 0.50;
window_placement = "second_child";
};
# extraConfig = ''
# '';
};
# skhd (keybinds etc.)
services.skhd = {
enable = true;
package = pkgs.skhd;
skhdConfig = ''
# Add your skhd keybindings here
# For example:
# alt - return : open -n /Applications/iTerm.app
# shift + alt - r : yabai -m space --rotate 90
'';
};
}

Loading…
Cancel
Save