modules/nixos: remove update-diff
moved to srvos
This commit is contained in:
parent
2919a58b28
commit
a1e594ff4b
1 changed files with 0 additions and 9 deletions
|
@ -18,15 +18,6 @@
|
|||
inputs.srvos.nixosModules.server
|
||||
];
|
||||
|
||||
srvos.update-diff.enable = false;
|
||||
system.preSwitchChecks.update-diff = ''
|
||||
if [[ -e /run/current-system && -e "''${1-}" ]]; then
|
||||
echo "--- diff to current-system"
|
||||
${pkgs.nvd}/bin/nvd --nix-bin-dir=${config.nix.package}/bin diff /run/current-system "''${1-}"
|
||||
echo "---"
|
||||
fi
|
||||
'';
|
||||
|
||||
# Hard-link duplicated files
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise.automatic = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue