From d98bb6cbddffd3346eea3d92b6e897e538997d10 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 16 Nov 2025 15:29:21 +0100 Subject: [PATCH] feat(marpa): update and add disk mountpoints --- hosts/marpa/configuration.nix | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/hosts/marpa/configuration.nix b/hosts/marpa/configuration.nix index f9ddfea..0181e91 100644 --- a/hosts/marpa/configuration.nix +++ b/hosts/marpa/configuration.nix @@ -9,6 +9,36 @@ ../../system ]; + fileSystems = { + "/home".options = [ + "compress=zstd:3" # Good balance of compression vs speed + "space_cache=v2" # Better performance + "noatime" # Don't update access times (less writes) + ]; + "/mnt/ai" = { + device = "/dev/disk/by-uuid/47e87286-caaa-4e43-b2fd-b9eceac90fe9"; + fsType = "btrfs"; + options = [ + "compress=zstd:3" # Good balance of compression vs speed + "space_cache=v2" # Better performance + "noatime" # Don't update access times (less writes) + ]; + }; + "/mnt/games" = { + device = "/dev/disk/by-uuid/a8453133-76dc-44bd-a825-444c3305fd9b"; + fsType = "btrfs"; + options = [ + "compress=zstd:3" # Good balance of compression vs speed + "space_cache=v2" # Better performance + "noatime" # Don't update access times (less writes) + ]; + }; + "/games" = { + device = "/dev/disk/by-uuid/77d32db8-2e85-4593-b6b8-55d4f9d14e1a"; + fsType = "ext4"; + }; + }; + mySystem = { boot = { extraModprobeConfig = '' @@ -102,11 +132,6 @@ rtkit.enable = true; }; - fileSystems."/games" = { - device = "/dev/disk/by-uuid/77d32db8-2e85-4593-b6b8-55d4f9d14e1a"; - fsType = "ext4"; - }; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave