From c56c8d8fef19de20fd87a958e516d23de4ed2cb9 Mon Sep 17 00:00:00 2001 From: Martin Benonisen Date: Wed, 24 Jul 2024 08:33:32 +0200 Subject: [PATCH] nix --- user/packages/default.nix | 1 + user/zsh/default.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/user/packages/default.nix b/user/packages/default.nix index ee2ec1e..d69570b 100644 --- a/user/packages/default.nix +++ b/user/packages/default.nix @@ -65,6 +65,7 @@ zenity protontricks winetricks + wineWowPackages.stagingFull tokei unzip diff --git a/user/zsh/default.nix b/user/zsh/default.nix index ae3e7aa..ce83e71 100644 --- a/user/zsh/default.nix +++ b/user/zsh/default.nix @@ -7,7 +7,7 @@ enableCompletion = true; syntaxHighlighting.enable = true; shellAliases = { - nrebuild = "nix flake update /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/${user}/git/nixos && nvd diff $(ls -d1v /nix/var/nix/profiles/system-*-link|tail -n 2) && source ~/.zshrc"; + nrebuild = "nix flake update /home/mbeno/git/nixos && sudo nixos-rebuild switch --recreate-lock-file --flake /home/${user}/git/nixos && nvd diff $(ls -d1v /nix/var/nix/profiles/system-*-link|tail -n 2) && source ~/.zshrc"; nlog = '' revpath="/nix/var/nix/profiles"; lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1);