mirror of
https://github.com/nikdoof/nixos-config.git
synced 2025-12-11 08:42:24 +00:00
9 lines
334 B
Makefile
9 lines
334 B
Makefile
pull:
|
|
nix-shell -p git --run "git pull"
|
|
update-channels:
|
|
sudo nix-channel --update
|
|
rebuild: pull update-channels
|
|
sudo nixos-rebuild switch -I nixos-config=machines/$(shell hostname -s)/configuration.nix
|
|
sudo nix-collect-garbage -d
|
|
boot: pull
|
|
sudo nixos-rebuild boot -I nixos-config=machines/$(shell hostname -s)/configuration.nix
|