From df52b19a1e59f01dad7e2d6d0add91a5114d3bad Mon Sep 17 00:00:00 2001 From: chn Date: Mon, 8 Dec 2025 17:09:38 +0800 Subject: [PATCH] modules.system: show more concice info --- modules/system/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/system/default.nix b/modules/system/default.nix index e6b15348..d78f811d 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -58,7 +58,16 @@ inputs: { stateVersion = "25.05"; configurationRevision = inputs.topInputs.self.rev or "dirty"; - nixos = { versionSuffix = inputs.lib.mkForce ""; tags = [ inputs.topInputs.self.config.branch ]; }; + nixos = + { + versionSuffix = inputs.lib.mkForce ""; + tags = let inherit (inputs.topInputs) self; in + [ + self.config.branch + (builtins.substring 2 6 self.lastModifiedDate) + (builtins.substring 0 6 self.rev or "dirty") + ]; + }; }; chaotic.nyx.cache.enable = false; };