mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -06:00
add pretty printer on system change
This commit is contained in:
parent
9952a05d7d
commit
5156e5a61f
1 changed files with 6 additions and 0 deletions
|
@ -40,6 +40,12 @@
|
||||||
programs.nix-index.enableBashIntegration = false;
|
programs.nix-index.enableBashIntegration = false;
|
||||||
programs.nix-index.enableFishIntegration = false;
|
programs.nix-index.enableFishIntegration = false;
|
||||||
|
|
||||||
|
system.activationScripts.diff = ''
|
||||||
|
if [[ -e /run/current-system ]]; then
|
||||||
|
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
trusted-users = [ "@wheel" ];
|
trusted-users = [ "@wheel" ];
|
||||||
accept-flake-config = true;
|
accept-flake-config = true;
|
||||||
|
|
Loading…
Reference in a new issue