feat(fruitbook): init

This commit is contained in:
msyds authored and Madeleine Sydney Ślaga committed 2025-08-06 19:19:22 -06:00
1 parent eea4d34206
commit a1bb1ab419
9 files changed
+312 -7

No files matched your search

+20
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";
};
};
}