Common: set hostname as variant id

This commit is contained in:
Toast 2023-09-15 13:27:14 +02:00
parent da0bd77930
commit b623acef48

View file

@ -88,5 +88,6 @@
system = { system = {
stateVersion = "23.05"; stateVersion = "23.05";
configurationRevision = flakeSelf.sourceInfo.rev or flakeSelf.sourceInfo.dirtyRev; configurationRevision = flakeSelf.sourceInfo.rev or flakeSelf.sourceInfo.dirtyRev;
nixos.variant_id = lib.strings.toLower config.networking.hostName;
}; };
} }