[NixOS] Remove flake.lock when rebuilding

This commit is contained in:
2021-07-18 13:49:00 -06:00
parent 2a8223df24
commit 5fde5ccd1f

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