diff --git a/nixos/hosts/steamdeck/disks.nix b/nixos/hosts/steamdeck/disks.nix index 68ed7362..1b31c2e3 100644 --- a/nixos/hosts/steamdeck/disks.nix +++ b/nixos/hosts/steamdeck/disks.nix @@ -25,7 +25,7 @@ }; # partition 1 (ESP) ROOT = { start = "550MiB"; - end = "100%"; + size = "100%"; content = { type = "btrfs"; extraArgs = [ "-f" ]; @@ -48,5 +48,29 @@ }; # partitions }; # content }; # disko.devices.disk.nvme0 - }; # disko.devices.disk + + mmcblk0 = { + type = "disk"; + device = "/dev/mmcblk0"; + content = { + type = "gpt"; + partitions = { + MICROSD = { + name = "MICROSD"; + size = "100%"; + content = { + type = "btrfs"; + extraArgs = [ "-f" ]; + subvolumes = { + "/microsd" = { + mountpoint = "/microsd"; + mountOptions = [ "compress=none" "noatime" ]; + }; # sd_card + }; # subvolumes + }; # content + }; # partition 2 (MICROSD BTRFS) + }; # partitions + }; # content + }; # disko.devices.disk.mmcblk0 + }; # disko.devices } # root