From 156808d00481f5c2b1ace02622ab73ce132b22e5 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 20 Feb 2023 18:08:07 +0100 Subject: [PATCH] Revert "Move rebuild after git stuff" This reverts commit a93e2b57e3f56d6f3ce008224648365b82becaf4. --- home/jopejoe1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/jopejoe1.nix b/home/jopejoe1.nix index 12dce0c..8616ce9 100644 --- a/home/jopejoe1.nix +++ b/home/jopejoe1.nix @@ -107,7 +107,7 @@ historyFile = "${config.xdg.stateHome}/bash/history"; shellAliases = { gc = "sudo nix store gc"; - rb = "sudo git -C /etc/nixos pull && sudo nix flake update /etc/nixos/ && sudo git -C /etc/nixos add . && sudo git -C /etc/nixos commit -m 'Updated flake.lock' && sudo git -C /etc/nixos push && sudo nixos-rebuild switch"; + rb = "sudo git -C /etc/nixos pull && sudo nix flake update /etc/nixos/ && sudo nixos-rebuild switch && sudo git -C /etc/nixos add . && sudo git -C /etc/nixos commit -m 'Updated flake.lock' && sudo git -C /etc/nixos push"; }; }; zsh.shellAliases = config.programs.bash.shellAliases;