Add formatter & reformat.

This commit is contained in:
2024-09-13 13:38:15 +01:00
parent 20212556e5
commit 457efb9bb6
29 changed files with 363 additions and 205 deletions

View File

@@ -1,10 +1,15 @@
{ pkgs, config, lib, ... }:
{
pkgs,
config,
lib,
...
}:
{
system.activationScripts.show-update-changelog = ''
if [[ -e /run/current-system ]]; then
echo "[show-update-changelog] System Changelog"
${lib.getExe pkgs.nvd} --nix-bin-dir='${config.nix.package}/bin' diff /run/current-system "$systemConfig"
fi
if [[ -e /run/current-system ]]; then
echo "[show-update-changelog] System Changelog"
${lib.getExe pkgs.nvd} --nix-bin-dir='${config.nix.package}/bin' diff /run/current-system "$systemConfig"
fi
'';
}