From d5546077e745a695594de067f9e1f066415faab0 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 22 Sep 2023 17:42:08 +0900 Subject: [PATCH] ext4 --- nixos/hosts/nixos-vm-02/disks.nix | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/nixos/hosts/nixos-vm-02/disks.nix b/nixos/hosts/nixos-vm-02/disks.nix index 73b9e392..8455430a 100644 --- a/nixos/hosts/nixos-vm-02/disks.nix +++ b/nixos/hosts/nixos-vm-02/disks.nix @@ -33,22 +33,9 @@ extraOpenArgs = [ "--allow-discards" ]; settings.keyFile = "/tmp/secret.key"; content = { - type = "btrfs"; - extraArgs = [ "-f" ]; - subvolumes = { - "/root" = { - mountpoint = "/"; - mountOptions = [ "compress=zstd" "noatime" ]; - }; # root - "/home" = { - mountpoint = "/home"; - mountOptions = [ "compress=zstd" "noatime" ]; - }; # home - "/nix" = { - mountpoint = "/nix"; - mountOptions = [ "compress=zstd" "noatime" ]; - }; # nix - }; # subvolumes + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; }; # content.content }; # content } # partition 2