improve update command

This commit is contained in:
Noa Aarts 2024-04-12 12:15:28 +02:00
parent 0bb6e8a81b
commit f757fdee59

View file

@ -15,8 +15,7 @@
ll = "lsd -l";
lt = "lsd -l --tree";
# TODO find if i can make these use the 'current' flake
utest = "sudo nixos-rebuild test --flake $HOME/nixos#default";
update = "sudo nixos-rebuild switch --flake $HOME/nixos#default";
update = "nix flake update --commit-lock-file $HOME/nixos#default && sudo nixos-rebuild switch --flake $HOME/nixos#default";
};
history = {
path = "${config.xdg.dataHome}/zsh/history";