This commit is contained in:
Don Harper 2023-07-11 07:10:35 -05:00
parent 9cb723f0d9
commit c291643def
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,7 @@ in
[
./detect-reboot-needed.nix
./systemd.nix
./upgrade-diff.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
@ -182,6 +183,7 @@ in
nerdfonts
nextcloud-client
noto-fonts
nvd
obsidian
pasystray
pavucontrol

View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
};
}