mirror of
https://github.com/nikdoof/nixos-config.git
synced 2025-12-17 04:29:25 +00:00
Pull before rebuilding
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
pull:
|
pull:
|
||||||
nix-shell -p git --run "git pull"
|
nix-shell -p git --run "git pull"
|
||||||
rebuild:
|
rebuild: pull
|
||||||
sudo nixos-rebuild switch -I nixos-config=machines/$(shell hostname -s)/configuration.nix
|
sudo nixos-rebuild switch -I nixos-config=machines/$(shell hostname -s)/configuration.nix
|
||||||
Reference in New Issue
Block a user