Makefile : Always restore nix.conf for boot-no-nixconf.
This commit is contained in:
parent
1a63e4cb3e
commit
934c005c7d
4
Makefile
4
Makefile
|
@ -14,8 +14,8 @@ boot:
|
|||
nixos-rebuild boot $(options) --flake $(flake)
|
||||
|
||||
boot-no-nixconf:
|
||||
mv /etc/nix/nix.conf /etc/nix/nix.conf_
|
||||
nixos-rebuild boot $(options) --flake $(flake)
|
||||
mv /etc/nix/nix.conf /etc/nix/nix.conf_; \
|
||||
nixos-rebuild boot $(options) --flake $(flake); \
|
||||
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
||||
|
||||
check:
|
||||
|
|
Loading…
Reference in a new issue