diff --git a/nixos/hosts/steamdeck/disks.nix b/nixos/hosts/steamdeck/disks.nix index 17236cc8..3c49655c 100644 --- a/nixos/hosts/steamdeck/disks.nix +++ b/nixos/hosts/steamdeck/disks.nix @@ -47,5 +47,29 @@ }; # partitions }; # content }; # disko.devices.disk.nvme0 - }; # disko.devices + + mmcblk0 = { + type = "disk"; + device = "/dev/mmcblk0"; + content = { + type = "gpt"; + partitions = { + SD_CARD = { + start = "0%"; + end = "100%"; + content = { + type = "btrfs"; + extraArgs = [ "-f" ]; + subvolumes = { + "/sd_card" = { + mountpoint = "/sd_card"; + mountOptions = [ "compress=none" "noatime" ]; + }; # sd_card + }; # subvolumes + }; # content + }; # partition 2 (SD_CARD BTRFS) + }; # partitions + }; # content + }; # disko.devices.disk.mmcblk0 + }; # disko.devices.disk } # root