mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-09 22:22:40 +02:00
feat: update nix-darwin & yabai
This commit is contained in:
Generated
+3
-3
@@ -536,11 +536,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1705796049,
|
"lastModified": 1706581965,
|
||||||
"narHash": "sha256-zkqbujNu3ixEar79QJTpJeOG5MYse1uJdcjl9f96uBg=",
|
"narHash": "sha256-1H7dRdK9LJ7+2X1XQtbwXr+QMqtVVo/ZF0/LIvkjdK8=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "3ac7acd32db4f7111015e8d5349ff6067df01bf6",
|
"rev": "91b9daf672c957ef95a05491a75f62e6a01d5aaf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
}: let
|
}: let
|
||||||
homeDir = config.users.users."${username}".home;
|
homeDir = config.users.users."${username}".home;
|
||||||
in {
|
in {
|
||||||
|
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/darwin/yabai/default.nix
|
||||||
services.yabai = {
|
services.yabai = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# temporary workaround for https://github.com/ryan4yin/nix-config/issues/51
|
# temporary workaround for https://github.com/ryan4yin/nix-config/issues/51
|
||||||
@@ -42,11 +43,4 @@ in {
|
|||||||
StandardErrorPath = "${homeDir}/Library/Logs/yabai.stderr.log";
|
StandardErrorPath = "${homeDir}/Library/Logs/yabai.stderr.log";
|
||||||
StandardOutPath = "${homeDir}/Library/Logs/yabai.stdout.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