From 26ecae51675952a9554148157baefe3a87515d99 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..550475f 100644 --- a/hosts/plexy/disko-config.nix +++ b/hosts/plexy/disko-config.nix @@ -54,6 +54,33 @@ }; }; }; + 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"; + }; + }; + }; + }; + }; }; }; }