From 94851538706b9644bd8da9aa0c58308018cac614 Mon Sep 17 00:00:00 2001 From: Mariano Uvalle Date: Fri, 13 Jun 2025 21:17:56 -0700 Subject: [PATCH] [Darwin] Use sudo to rebuild system. Signed-off-by: Mariano Uvalle --- hosts/macbook/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index 1e4238a..accb4a5 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -36,7 +36,7 @@ homeconf = "nvim /Users/uagm/nixos/hosts/macbook/home.nix"; nvconf = "nvim /Users/uagm/nixos/home-modules/explicit-configs/nvim/init.lua"; # TODO: Interpolate the name of the host here. - nrsw = "darwin-rebuild switch --flake /Users/uagm/nixos#macbook"; + nrsw = "sudo darwin-rebuild switch --flake /Users/uagm/nixos#macbook"; }; }; }