From d5197777b43cbd56ff6b28b07272d6aa23fd3674 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Fri, 6 Mar 2026 16:05:08 +0000 Subject: [PATCH] Fix darwin apply to use darwin-rebuild directly instead of nix run --- apps/apply | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/apply b/apps/apply index d18945c..42bfa4a 100755 --- a/apps/apply +++ b/apps/apply @@ -18,7 +18,7 @@ def main [hostname?: string, ...rest: string] { print_info $"Applying configuration for ($host)" if $nu.os-info.name == "macos" { - sudo nix run nix-darwin -- switch --flake $".#($host)" ...$rest + sudo darwin-rebuild switch --flake $".#($host)" ...$rest } else { let euid = (id -u | str trim | into int) if $euid != 0 {