base: tag generation as dirty if built from uncommitted source code
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user