diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2022-03-20 16:02:47 -0400 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2022-03-22 21:28:51 -0400 |
commit | 213de9b10874370c9f14e41c8551fba701ed8030 (patch) | |
tree | cd8cf093e22e00bb56cbd1f8ec23e83545c517f5 /nixos/modules/virtualisation | |
parent | 1abf15417972cd54eb7013e4a87f6b2de30d8590 (diff) |
systemd-initrd: autoFormat and autoResize in initrd
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index f8653a6f34a82..05738b9cfc1b8 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -923,6 +923,8 @@ in mkVMOverride (cfg.fileSystems // { "/".device = cfg.bootDevice; + "/".fsType = "ext4"; + "/".autoFormat = true; "/tmp" = mkIf config.boot.tmpOnTmpfs { device = "tmpfs"; |