From 41b54ce8297b1ed2f5fb7d6491c7d82b24ccdc91 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Tue, 26 Dec 2023 16:36:18 +0300 Subject: 2023-12-26 --- packages/nixfiles.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages') 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#@} -- cgit 1.4.1