diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/nixfiles.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/nixfiles.nix b/packages/nixfiles.nix index bfc869a..286214c 100644 --- a/packages/nixfiles.nix +++ b/packages/nixfiles.nix @@ -3,6 +3,7 @@ jq, lib, nix, + nvd, openssh, stdenv, symlinkJoin, @@ -18,6 +19,7 @@ git jq nix + nvd openssh ] ++ lib.optional stdenv.isLinux xdg-utils; @@ -110,6 +112,9 @@ export VERBOSE=1 exec nix shell -v ".#$attr" "$@" -c home-manager-generation ;; + diff) + exec nvd diff /run/current-system "$nixfiles/result" + ;; @*) # Assumes that hosts are configured in the OpenSSH configuration. host=''${cmd#@} |