parent
101d4e2c16
commit
896eb3f99d
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./bottom.nix
|
./bottom.nix
|
||||||
|
@ -47,6 +47,9 @@
|
||||||
# Personal NUR
|
# Personal NUR
|
||||||
nur.repos.jolheiser.tmpl
|
nur.repos.jolheiser.tmpl
|
||||||
];
|
];
|
||||||
|
activation.report-changes = config.lib.dag.entryAnywhere ''
|
||||||
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff $oldGenPath $newGenPath
|
||||||
|
'';
|
||||||
stateVersion = "22.11";
|
stateVersion = "22.11";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.activationScripts.diff = {
|
||||||
|
supportsDryActivation = true;
|
||||||
|
text = ''
|
||||||
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [ podman podman-compose podman-tui ];
|
systemPackages = with pkgs; [ podman podman-compose podman-tui ];
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue