Pass flake version to config version.

This commit is contained in:
2023-06-30 11:10:08 +01:00
parent a665240698
commit ba0afde81f

View File

@@ -11,6 +11,8 @@
];
system.copySystemConfiguration = false; # not supported with flakes
# Let 'nixos-version --json' know about the Git revision of the flake
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions