mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
openstack-image-zfs: make the generated configuration.nix valid
Drops the wrong expandOnBoot option (defaults to all) and mark ZFS as enabled.
This commit is contained in:
parent
9e3dab7d2e
commit
b4c495aeff
|
@ -55,8 +55,9 @@ in
|
||||||
|
|
||||||
configFile = pkgs.writeText "configuration.nix"
|
configFile = pkgs.writeText "configuration.nix"
|
||||||
''
|
''
|
||||||
{
|
{ modulesPath, ... }: {
|
||||||
imports = [ <nixpkgs/nixos/modules/virtualisation/openstack-config.nix> ];
|
imports = [ "''${modulesPath}/virtualisation/openstack-config.nix" ];
|
||||||
|
openstack.zfs.enable = true;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue