mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 09:02:40 +02:00
feat: window manager for darwin - yabai
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
services.skhd = {
|
||||
enable = true;
|
||||
skhdConfig = builtins.readFile ./skhdrc;
|
||||
};
|
||||
|
||||
# custom log path for debugging
|
||||
launchd.user.agents.skhd.serviceConfig = let
|
||||
homeDir = config.users.users."${username}".home;
|
||||
in {
|
||||
StandardErrorPath = "${homeDir}/Library/Logs/skhd.stderr.log";
|
||||
StandardOutPath = "${homeDir}/Library/Logs/skhd.stdout.log";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user