From a95ad93acbc5f02fd7c3dfc355318735978165be Mon Sep 17 00:00:00 2001 From: Wekuz Date: Fri, 3 Apr 2026 15:44:47 +0300 Subject: [PATCH] Add storage disk config --- hosts/plexy/disko-config.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/hosts/plexy/disko-config.nix b/hosts/plexy/disko-config.nix index 7efa09c..6324186 100644 --- a/hosts/plexy/disko-config.nix +++ b/hosts/plexy/disko-config.nix @@ -55,5 +55,32 @@ }; }; }; + storagedisk = { + type = "disk"; + device = "/dev/disk/by-id/ata-HGST_HUS722T2TALA604_WMC6N0P31NKZ"; + content = { + type = "gpt"; + partitions = { + primary = { + size = "100%"; + content = { + type = "btrfs"; + extraArgs = [ "-f" ]; # Override existing partition + subvolumes = { + "/storage" = { + mountOptions = [ + "compress=zstd" + "noatime" + ]; + mountpoint = "/storage"; + }; + }; + + mountpoint = "/part-storage"; + }; + }; + }; + }; + }; }; }