@@ -42,6 +42,7 @@ in {
4242 options.virtualisation.openstack.glance = {
4343 package = mkOption {
4444 type = types.package;
45+ default = pkgs.glance;
4546 example = literalExample "pkgs.glance";
4647 description = ''
4748 Glance package to use.
@@ -149,11 +150,6 @@ in {
149150 };
150151
151152 config = mkIf cfg.enable {
152− # Note: when changing the default, make it conditional on
153− # ‘system.stateVersion’ to maintain compatibility with existing
154− # systems!
155− virtualisation.openstack.glance.package = mkDefault pkgs.glance;
156−
157153 users.extraUsers = [{
158154 name = "glance";
159155 group = "glance";