From ffb55811e55886961ab3ed26fa73ec8dabaa73e1 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 22 Sep 2023 18:05:38 +0900 Subject: [PATCH] Test --- nixos/hosts/nixos-vm-02/disks.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/nixos/hosts/nixos-vm-02/disks.nix b/nixos/hosts/nixos-vm-02/disks.nix index 5a5bfebb..7cf0fc8a 100644 --- a/nixos/hosts/nixos-vm-02/disks.nix +++ b/nixos/hosts/nixos-vm-02/disks.nix @@ -29,18 +29,10 @@ end = "100%"; content = { type = "luks"; - name = "LUKS-ROOT"; - extraOpenArgs = [ "--allow-discards" ]; - settings.keyFile = "/tmp/secret.key"; + name = "ROOT"; content = { - type = "btrfs"; - extraArgs = [ "-f" ]; - subvolumes = { - "@" = { - mountpoint = "/"; - mountOptions = [ "compress=zstd" "noatime" ]; - }; # root - }; # subvolumes + type = "filesystem"; + format = "ext4"; }; # content.content }; # content } # partition 2