mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-20 03:34:07 +02:00
Move rebuild after git stuff
This commit is contained in:
parent
2056b680ae
commit
a93e2b57e3
1 changed files with 1 additions and 1 deletions
|
@ -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 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";
|
||||
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";
|
||||
};
|
||||
};
|
||||
zsh.shellAliases = config.programs.bash.shellAliases;
|
||||
|
|
Loading…
Add table
Reference in a new issue