summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2022-03-08 09:26:05 -0500
committerGraham Christensen <graham@grahamc.com>2022-04-07 15:28:28 -0400
commitd3aff5fa3cb1ecd9d339e3801373ec3cca0057e4 (patch)
tree1d8580a689549fc0f74905dbc732541bd7fe54e0 /nixos/modules
parent8a5bdce5665e24c1656aab2235ac9bd556316adf (diff)
downloadnixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.tar
nixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.tar.gz
nixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.tar.bz2
nixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.tar.lz
nixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.tar.xz
nixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.tar.zst
nixpkgs-d3aff5fa3cb1ecd9d339e3801373ec3cca0057e4.zip
openstack-config: make the expandOnBoot option default to `all`
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/virtualisation/openstack-config.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/openstack-config.nix b/nixos/modules/virtualisation/openstack-config.nix
index c5c832fb810..f7806228c65 100644
--- a/nixos/modules/virtualisation/openstack-config.nix
+++ b/nixos/modules/virtualisation/openstack-config.nix
@@ -50,7 +50,7 @@ in
       terminal_input console serial
     '';
 
-    services.zfs.expandOnBoot = mkIf cfg.zfs.enable "all";
+    services.zfs.expandOnBoot = mkIf cfg.zfs.enable (lib.mkDefault "all");
     boot.zfs.devNodes = mkIf cfg.zfs.enable "/dev/";
 
     # Allow root logins