blah
This commit is contained in:
parent
9cb723f0d9
commit
c291643def
2 changed files with 10 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ in
|
||||||
[
|
[
|
||||||
./detect-reboot-needed.nix
|
./detect-reboot-needed.nix
|
||||||
./systemd.nix
|
./systemd.nix
|
||||||
|
./upgrade-diff.nix
|
||||||
];
|
];
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
@ -182,6 +183,7 @@ in
|
||||||
nerdfonts
|
nerdfonts
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
nvd
|
||||||
obsidian
|
obsidian
|
||||||
pasystray
|
pasystray
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|
|
||||||
8
workstation/upgrade-diff.nix
Normal file
8
workstation/upgrade-diff.nix
Normal 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"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue