[NixOS] Remove flake.lock when rebuilding

This commit is contained in:
Ivan Malison 2021-07-18 13:49:00 -06:00
parent 2a8223df24
commit 5fde5ccd1f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,3 +1,4 @@
#!/usr/bin/env sh #!/usr/bin/env sh
rm flake.lock
nix flake update --impure --inputs-from . nix flake update --impure --inputs-from .
sudo nixos-rebuild switch --flake '.#' --impure sudo nixos-rebuild switch --flake '.#' --impure