Add option system.configurationRevision to record revision of top-level flake

This commit is contained in:
Eelco Dolstra
2020-02-05 23:15:18 +01:00
parent b91803bf13
commit 855fcc324a
+6
View File
@@ -84,6 +84,12 @@ in
description = "Default NixOS channel to which the root user is subscribed.";
};
configurationRevision = mkOption {
type = types.nullOr types.str;
default = null;
description = "The Git revision of the top-level flake from which this configuration was built.";
};
};
config = {