feat: work QOL changes

This commit is contained in:
Swarsel 2024-08-27 23:39:13 +02:00
parent 02c1f57b4a
commit cc1ffd103b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 307 additions and 247 deletions

View file

@ -1,4 +1,4 @@
updates="$( { cd /home/swarsel/.dotfiles && nix flake update && nix build .#nixosConfigurations."$(eval hostname)".config.system.build.toplevel && nvd diff /run/current-system ./result | grep -c '\[U'; } || true)"
updates="$( { cd /home/swarsel/.dotfiles && nix flake lock --update-input nixpkgs && nix build .#nixosConfigurations."$(eval hostname)".config.system.build.toplevel && nvd diff /run/current-system ./result | grep -c '\[U'; } || true)"
alt="has-updates"
if [[ $updates -eq 0 ]]; then