summary refs log tree commit diff
path: root/nixos/modules/virtualisation/google-compute-config.nix
diff options
context:
space:
mode:
authorDing Xiang Fei <dingxiangfei2009@gmail.com>2019-05-22 14:44:52 +0800
committerDing Xiang Fei <dingxiangfei2009@gmail.com>2019-05-27 14:15:02 +0800
commit359fd5b7298d1e063a7c99047d3882101aeab957 (patch)
tree3d5852525ab5afe22268c0a8f4293a4f83d974c3 /nixos/modules/virtualisation/google-compute-config.nix
parent9745c3b64a6976cb5e7873316feab0c15d5c4874 (diff)
downloadnixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.tar
nixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.tar.gz
nixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.tar.bz2
nixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.tar.lz
nixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.tar.xz
nixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.tar.zst
nixpkgs-359fd5b7298d1e063a7c99047d3882101aeab957.zip
nixos/modules/virtualisation/google-compute-config.nix: pin filesystem type to ext4 for now
Fix #61859.
Assertion fails when a Google Compute Engine image is built, because
now choices of filesystem types are restricted to `f2fs` and `ext` family if
auto-resizing is enabled.
This change will pin the filesystem used on such an image to be `ext4` for now.
Diffstat (limited to 'nixos/modules/virtualisation/google-compute-config.nix')
-rw-r--r--nixos/modules/virtualisation/google-compute-config.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/google-compute-config.nix b/nixos/modules/virtualisation/google-compute-config.nix
index 8c7331fe4d2..2ee22b80f2f 100644
--- a/nixos/modules/virtualisation/google-compute-config.nix
+++ b/nixos/modules/virtualisation/google-compute-config.nix
@@ -12,6 +12,7 @@ in
 
 
   fileSystems."/" = {
+    fsType = "ext4";
     device = "/dev/disk/by-label/nixos";
     autoResize = true;
   };