summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-12-26 16:36:18 +0300
committerAzat Bahawi <azat@bahawi.net>2023-12-26 16:36:18 +0300
commit41b54ce8297b1ed2f5fb7d6491c7d82b24ccdc91 (patch)
tree964ced76ad915e88df5642b656950e117d0904d7 /packages
parent306f35c135251e0b6760ac191c3111b030727813 (diff)
2023-12-26
Diffstat (limited to 'packages')
-rw-r--r--packages/nixfiles.nix5
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#@}