From 654eeb83d81ca3aee230f1df08c94cee6d84d91c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 28 May 2026 04:39:49 +0900 Subject: [PATCH] base: tag generation as dirty if built from uncommitted source code --- base/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/default.nix b/base/default.nix index 8789148..f7f80d1 100644 --- a/base/default.nix +++ b/base/default.nix @@ -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;