From dda84d948c1d4eec3e9a9aaec56784b3971e0e22 Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Thu, 29 Jan 2026 13:09:39 -0500 Subject: [PATCH] alien: add hard drives in raid0 --- hardware/alien/default.nix | 19 ++++++++++++++++++- system/hosts/alien/default.nix | 5 ++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/hardware/alien/default.nix b/hardware/alien/default.nix index 42146eb..4275513 100755 --- a/hardware/alien/default.nix +++ b/hardware/alien/default.nix @@ -24,12 +24,19 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/d83ec136-df01-4b9e-a523-6d75726fb904"; fsType = "btrfs"; - options = [ "subvol=@" ]; + options = [ + "subvol=@" + "compress=zstd" + ]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/e369d905-a82b-45c5-838a-323169233583"; fsType = "btrfs"; + options = [ + "compress=zstd" + "noatime" + ]; }; fileSystems."/boot" = { @@ -44,6 +51,16 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/881bdf55-1e43-4bfc-a1bf-3b2f72dbc122"; fsType = "btrfs"; + options = [ "compress=zstd" ]; + }; + + fileSystems."/mnt/storage" = { + device = "/dev/disk/by-uuid/39a22912-3570-4842-bdcb-df52664745a6"; + fsType = "btrfs"; + options = [ + "compress=zstd" + "nofail" + ]; }; swapDevices = [ diff --git a/system/hosts/alien/default.nix b/system/hosts/alien/default.nix index b433590..724ebaa 100644 --- a/system/hosts/alien/default.nix +++ b/system/hosts/alien/default.nix @@ -99,5 +99,8 @@ ]; # i don't even remember what this does or why i added it - systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ]; + systemd.tmpfiles.rules = [ + "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" + "d /mnt/storage 0775 sckova users - -" + ]; }