nichts/hosts/hermit/filesystem/default.nix

34 lines
936 B
Nix
Raw Normal View History

2024-10-11 18:23:06 +02:00
{
config = {
2025-01-07 19:54:27 +01:00
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/10318654-ed20-43f6-885d-35366a427581";
2024-10-11 18:23:06 +02:00
fileSystems = {
"/boot" = {
2025-01-07 19:54:27 +01:00
device = "/dev/disk/by-uuid/5D7D-FC52";
2024-10-11 18:23:06 +02:00
fsType = "vfat";
};
2025-02-25 17:28:40 +01:00
2024-10-11 18:23:06 +02:00
"/" = {
2025-01-07 19:54:27 +01:00
device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
fsType = "btrfs";
options = ["compress=zstd" "noatime"];
2024-10-11 18:23:06 +02:00
};
"/nix" = {
2025-01-07 19:54:27 +01:00
device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
2024-10-11 18:23:06 +02:00
fsType = "btrfs";
options = ["subvol=nix" "compress=zstd" "noatime"];
};
"/home" = {
2025-01-07 19:54:27 +01:00
device = "/dev/disk/by-uuid/e353013b-8ac7-40ed-80f2-ddbea21b8d5e";
2024-10-11 18:23:06 +02:00
fsType = "btrfs";
options = ["subvol=home" "compress=zstd" "noatime"];
};
};
2025-01-07 19:54:27 +01:00
# swapDevices = [
# {
# device = "/swap/swapfile";
# size = (1024 * 16) + (1024 * 2);
# }
# ];
2024-10-11 18:23:06 +02:00
};
}