From 036d5c7fba50a10f4f08eb95d2f5dd1bd8138971 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 1 Feb 2024 15:37:33 +0800 Subject: [PATCH] feat: update nix-darwin & yabai --- flake.lock | 6 +++--- modules/darwin/wm/yabai.nix | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 1353306d..35d41027 100644 --- a/flake.lock +++ b/flake.lock @@ -536,11 +536,11 @@ ] }, "locked": { - "lastModified": 1705796049, - "narHash": "sha256-zkqbujNu3ixEar79QJTpJeOG5MYse1uJdcjl9f96uBg=", + "lastModified": 1706581965, + "narHash": "sha256-1H7dRdK9LJ7+2X1XQtbwXr+QMqtVVo/ZF0/LIvkjdK8=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "3ac7acd32db4f7111015e8d5349ff6067df01bf6", + "rev": "91b9daf672c957ef95a05491a75f62e6a01d5aaf", "type": "github" }, "original": { diff --git a/modules/darwin/wm/yabai.nix b/modules/darwin/wm/yabai.nix index 6636ae63..d9ef7264 100644 --- a/modules/darwin/wm/yabai.nix +++ b/modules/darwin/wm/yabai.nix @@ -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" - ''; - }; }