about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-06-15 18:51:26 +0900
committersefidel <contact@sefidel.net>2024-06-24 23:43:11 +0900
commit52064fa74f8d2480a043d07e7fe2729f374efd8a (patch)
treeb1f42e23f60edddd40b94aa479940d6761ed8102 /lib
parent403d6d162fb2ebeaa57ac4a6ab895c17dd320193 (diff)
downloadnixrc-52064fa74f8d2480a043d07e7fe2729f374efd8a.tar.gz
nixrc-52064fa74f8d2480a043d07e7fe2729f374efd8a.zip
feat(lib/mk_system): use dirtyRev on dirty state
Diffstat (limited to 'lib')
-rw-r--r--lib/mk_system.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mk_system.nix b/lib/mk_system.nix
index c9d2705..10af66c 100644
--- a/lib/mk_system.nix
+++ b/lib/mk_system.nix
@@ -16,7 +16,7 @@
           {
             networking.hostName = name;
             nix.flakes.enable = true;
-            system.configurationRevision = self.rev or "dirty";
+            system.configurationRevision = self.rev or self.dirtyRev;
             documentation.man = { enable = true; generateCaches = true; };
           }
           entryPoint