base: tag generation as dirty if built from uncommitted source code

This commit is contained in:
h7x4
2026-05-28 04:39:49 +09:00
parent 5bf0de1d0d
commit 654eeb83d8

View File

@@ -1,6 +1,7 @@
{
pkgs,
lib,
inputs,
fp,
...
}:
@@ -43,6 +44,8 @@
./services/userdbd.nix
];
system.nixos.tags = lib.optionals (inputs.self.sourceInfo ? dirtyRev) [ "dirty" ];
boot.tmp.cleanOnBoot = lib.mkDefault true;
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;