mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-05 08:57:03 +02:00
feat: update nix-darwin & yabai
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
}: let
|
||||
homeDir = config.users.users."${username}".home;
|
||||
in {
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/darwin/yabai/default.nix
|
||||
services.yabai = {
|
||||
enable = true;
|
||||
# temporary workaround for https://github.com/ryan4yin/nix-config/issues/51
|
||||
@@ -42,11 +43,4 @@ in {
|
||||
StandardErrorPath = "${homeDir}/Library/Logs/yabai.stderr.log";
|
||||
StandardOutPath = "${homeDir}/Library/Logs/yabai.stdout.log";
|
||||
};
|
||||
|
||||
launchd.daemons.yabai-sa = {
|
||||
# https://github.com/koekeishiya/yabai/issues/1287
|
||||
script = lib.mkForce ''
|
||||
echo "skip it"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user