From fd2060c8c07d2024f68079f5f865a61d701b9fbc Mon Sep 17 00:00:00 2001 From: Bailey Stevens Date: Mon, 19 Feb 2024 00:09:05 -0500 Subject: [PATCH] Adds sudo to update-sys command. --- modules/home/core/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/core/default.nix b/modules/home/core/default.nix index 533a265..d4524af 100644 --- a/modules/home/core/default.nix +++ b/modules/home/core/default.nix @@ -242,7 +242,7 @@ in echo \"$argv[1]\" Command Not Found ''; update-hm = "home-manager switch -L --flake nixconf &| nom"; - update-sys = "nixos-rebuild switch --log-format internal-json -v --flake nixconf &| nom --json"; + update-sys = "sudo nixos-rebuild switch --log-format internal-json -v --flake nixconf &| nom --json"; }; interactiveShellInit = '' abbr --position anywhere -a !! -f last_cmd