From 49d84325db41001e9d7e489bd654587e626ee029 Mon Sep 17 00:00:00 2001 From: Alexandre1a Date: Thu, 8 Jan 2026 08:46:43 +0100 Subject: [PATCH] Modified aliases to use root and add sudo usage --- hosts/common/home.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/home.nix b/hosts/common/home.nix index ef9afe9..8f87431 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -69,8 +69,8 @@ #pip # The package manager ]; shellAliases = { - drs = "darwin-rebuild switch --flake ~/Developer/nix/NixOSDots#macOS"; - nrb = "nixos-rebuild switch --flake ~/Developer/NixOSDots#nixos"; + drs = "sudo darwin-rebuild switch --flake ~/Developer/nix/NixOSDots#macOS"; + nrs = "sudo nixos-rebuild switch --flake ~/Developer/NixOSDots#nixos"; }; }; }