From 7d9761a03b3a722b3f0d62e3b18264577f937f3d Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 27 Apr 2024 08:16:45 +0900 Subject: [PATCH] Tsting --- nixos/hosts/steamdeck/disks.nix | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) 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