Common: set system.configurationRevision

This commit is contained in:
Toast 2023-09-14 23:19:26 +02:00
parent 884590e972
commit da0bd77930
2 changed files with 10 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, flakeSelf, ... }:
{
environment = {
@ -85,5 +85,8 @@
manually on everything else
*/
system.stateVersion = "23.05";
system = {
stateVersion = "23.05";
configurationRevision = flakeSelf.sourceInfo.rev or flakeSelf.sourceInfo.dirtyRev;
};
}