diff --git a/home-manager/roles/nvd.nix b/home-manager/roles/nvd.nix index 3174bee8..a6df3458 100644 --- a/home-manager/roles/nvd.nix +++ b/home-manager/roles/nvd.nix @@ -2,8 +2,7 @@ with lib; let dag = config.lib.dag; - nvd = import pkgs.sources.nvd { inherit pkgs; }; in { - home.activation.report-changes = dag.entryAnywhere "${nvd}/bin/nvd diff $oldGenPath $newGenPath"; + home.activation.report-changes = dag.entryAnywhere "${pkgs.nvd}/bin/nvd diff $oldGenPath $newGenPath"; } diff --git a/lib/update-system.nix b/lib/update-system.nix index 4e086b6a..ec20263d 100644 --- a/lib/update-system.nix +++ b/lib/update-system.nix @@ -6,7 +6,7 @@ in update-system = pkgs.writeHaskellScript { name = "update-system"; - bins = [ nixos-rebuild pkgs.nix-output-monitor (import pkgs.sources.nvd { inherit pkgs; }) ]; + bins = [ nixos-rebuild pkgs.nix-output-monitor pkgs.nvd ]; } '' main = do paths <- myNixPath "${configPath}"