From a2ee709ad832c41e0d6bb935737244a32ccd2ba1 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 14 Mar 2023 13:55:53 +0100 Subject: [PATCH] Update rb alias --- modules/user/root/home/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/root/home/default.nix b/modules/user/root/home/default.nix index be5b947..6ed30ed 100644 --- a/modules/user/root/home/default.nix +++ b/modules/user/root/home/default.nix @@ -61,7 +61,7 @@ in historyFile = "${hcfg.xdg.stateHome}/bash/history"; shellAliases = { gc = "nix store gc"; - rb = "git -C /etc/nixos pull && nix flake update /etc/nixos/ && nixos-rebuild switch && git -C /etc/nixos add . && git -C /etc/nixos commit -m 'Updated flake.lock' && git -C /etc/nixos push"; + rb = "git -C /etc/nixos pull && nix flake update /etc/nixos/ && sudo nixos-rebuild switch && git -C /etc/nixos add . && git -C /etc/nixos commit -m 'Updated flake.lock' && git -C /etc/nixos push"; }; }; zsh.shellAliases = hcfg.programs.bash.shellAliases;