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

This commit is contained in:
Eelco Dolstra 2019-09-13 18:58:40 +02:00
parent b91803bf13
commit 855fcc324a

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 = {