From 2b82e449bf84c31a386bd83096286a8b566062d9 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 24 Mar 2024 14:40:36 -0400 Subject: [PATCH] Change disko config to more closely align with example --- disko/luks-btrfs-subvolumes.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/disko/luks-btrfs-subvolumes.nix b/disko/luks-btrfs-subvolumes.nix index 4e5b006..ac3e12d 100644 --- a/disko/luks-btrfs-subvolumes.nix +++ b/disko/luks-btrfs-subvolumes.nix @@ -27,31 +27,31 @@ in { size = "100%"; content = { type = "luks"; - name = "cryptroot"; + name = "crypted"; settings.allowDiscards = true; # passwordFile = "/tmp/secret.key"; # Interactive content = { type = "btrfs"; extraArgs = [ "-f" ]; subvolumes = { - "@" = { + "/root" = { mountpoint = "/"; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ]; }; - "@home" = { + "/home" = { mountpoint = "/home"; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ]; }; - "@snapshots" = { + "/.snapshots" = { mountpoint = "/.snapshots"; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ]; }; - "@nix" = { + "/nix" = { mountpoint = "/nix"; mountOptions = [ "compress=zstd" "noatime" "discard=async" "space_cache=v2" "ssd" ]; }; - "@swap" = { - mountpoint = "/swap"; + "/swap" = { + mountpoint = "/.swapvol"; swap.swapfile.size = swapfileSize; }; };