This commit is contained in:
2025-08-19 12:28:39 -06:00
committed by msyds
parent a1bb1ab419
commit 4164cc4e52
3 changed files with 15 additions and 0 deletions
Binary file not shown.
Binary file not shown.
+15
View File
@@ -18,3 +18,18 @@ in {
}; };
}; };
} }
{ pkgs, ... }:
let
device = "/dev/disk/by-id/ata-APPLE_SSD_SM0512G_S29ANYAH526520";
subvol = name: {
type = "btrfs";
inherit device;
options = ["subvol=${name}"];
};
in {
fileSystems."/" = subvol "rootfs";
fileSystems."/nix" = subvol "nix";
fileSystems."/persist" = subvol "persist";
fileSystems."/persist/home" = subvol "persist/home";
}