🚀 better nix-lock

This commit is contained in:
Moritz Böhme 2022-06-27 18:00:30 +02:00
parent dfdd983836
commit c44034b12b
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -48,8 +48,7 @@
nix-switch = "doas nixos-rebuild switch --flake ~/.dotfiles";
nix-boot = "doas nixos-rebuild boot --flake ~/.dotfiles";
nix-lock =
"doas nixos-rebuild dry-activate --flake ~/.dotfiles --recreate-lock-file";
nix-lock = "pushd ~/.dotfiles && nix flake update && popd";
emacs = editor;