diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-12-26 16:36:18 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-12-26 16:36:18 +0300 |
commit | 41b54ce8297b1ed2f5fb7d6491c7d82b24ccdc91 (patch) | |
tree | 964ced76ad915e88df5642b656950e117d0904d7 /packages | |
parent | 2023-12-18 (diff) |
2023-12-26
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#@} |