2022-06-24 04:21:01 +00:00
|
|
|
{ ... }:
|
2022-05-22 09:03:25 +00:00
|
|
|
|
|
|
|
{
|
2022-12-28 01:36:22 +00:00
|
|
|
sane.impermanence.root-on-tmpfs = true;
|
2022-08-10 00:58:35 +00:00
|
|
|
# we need a /tmp for building large nix things.
|
|
|
|
# a cross-compiled kernel, particularly, will easily use 30+GB of tmp
|
2022-06-24 09:07:40 +00:00
|
|
|
fileSystems."/tmp" = {
|
|
|
|
device = "none";
|
|
|
|
fsType = "tmpfs";
|
|
|
|
options = [
|
|
|
|
"mode=777"
|
2022-08-10 00:58:35 +00:00
|
|
|
"size=64G"
|
2022-06-24 09:07:40 +00:00
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
# device = "/dev/disk/by-uuid/985a0a32-da52-4043-9df7-615adec2e4ff";
|
|
|
|
device = "/dev/disk/by-uuid/0ab0770b-7734-4167-88d9-6e4e20bb2a56";
|
2022-05-22 09:03:25 +00:00
|
|
|
fsType = "btrfs";
|
|
|
|
options = [
|
|
|
|
"compress=zstd"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
2022-06-24 09:07:40 +00:00
|
|
|
# device = "/dev/disk/by-uuid/CAA7-E7D2";
|
|
|
|
device = "/dev/disk/by-uuid/41B6-BAEF";
|
2022-05-22 09:03:25 +00:00
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
}
|