This commit is contained in:
parent
cdd41a6a7a
commit
9b0f8b7a79
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,9 @@
|
|||
};
|
||||
|
||||
config = {
|
||||
system.configurationRevision = lib.mkIf (self ? rev) self.rev;
|
||||
system.configurationRevision = toString (
|
||||
self.shortRev or self.dirtyShortRev or self.lastModified or "unknown"
|
||||
);
|
||||
environment.etc = {
|
||||
"lytedev/rev".text = config.system.configurationRevision;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue