mirror of https://git.jolheiser.com/dotnix.git
parent
101d4e2c16
commit
896eb3f99d
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, config, ... }: {
|
||||
imports = [
|
||||
./bat.nix
|
||||
./bottom.nix
|
||||
|
@ -47,6 +47,9 @@
|
|||
# Personal NUR
|
||||
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";
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
systemPackages = with pkgs; [ podman podman-compose podman-tui ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue