diff --git a/flake.lock b/flake.lock index e5440ba..4697a6f 100644 --- a/flake.lock +++ b/flake.lock @@ -171,11 +171,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1713775152, - "narHash": "sha256-xyP8h9jLQ0AmyPy40sIwL7/D03oVpXG9YHoYJ4ecYWA=", + "lastModified": 1713892811, + "narHash": "sha256-uIGmA2xq41vVFETCF1WW4fFWFT2tqBln+aXnWrvjGRE=", "owner": "Mic92", "repo": "sops-nix", - "rev": "4371a1301c4d36cc791069d90ae522613a3a335e", + "rev": "f1b0adc27265274e3b0c9b872a8f476a098679bd", "type": "github" }, "original": { diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 9e1cd26..08ed7c9 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -8,6 +8,7 @@ syntaxHighlighting.enable = true; shellAliases = { nrebuild = "sudo nixos-rebuild switch --flake /home/${user}/nixos"; + ndiffbuild = "sudo nixos-rebuild build --flake /home/${user}/nixos && nvd diff /run/current-system /home/${user}/nixos/result"; }; initExtra = '' bindkey -v