feat(fruitbook): init

This commit is contained in:
2025-08-05 21:56:48 +00:00
parent eea4d34206
commit a1bb1ab419
9 changed files with 312 additions and 7 deletions

View File

@@ -0,0 +1,20 @@
{ ... }:
let
device = "/dev/disk/by-id/ata-APPLE_SSD_SM0512G_S29ANYAH526520-part5";
subvol = subvol-name: {
inherit device;
fsType = "btrfs";
options = [ "subvol=${subvol-name}" ];
};
in {
fileSystems = {
"/" = subvol "rootfs";
"/persist" = subvol "persist" // { neededForBoot = true; };
"/persist/home" = subvol "persist/home";
"/nix" = subvol "nix";
"/boot" = {
device = "/dev/disk/by-id/ata-APPLE_SSD_SM0512G_S29ANYAH526520-part3";
};
};
}