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

wip/yesman
Eelco Dolstra 5 years ago
parent b91803bf13
commit 855fcc324a
  1. 6
      nixos/modules/misc/version.nix

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

Loading…
Cancel
Save