2022-06-24 04:21:01 +00:00
|
|
|
{ ... }:
|
2022-05-22 09:03:25 +00:00
|
|
|
|
|
|
|
{
|
2023-07-13 22:04:28 +00:00
|
|
|
# increase /tmp space (defaults to 50% of RAM) for building large nix things.
|
2022-08-10 00:58:35 +00:00
|
|
|
# a cross-compiled kernel, particularly, will easily use 30+GB of tmp
|
2023-07-13 22:04:28 +00:00
|
|
|
fileSystems."/tmp".options = [ "size=64G" ];
|
|
|
|
|
2022-06-24 09:07:40 +00:00
|
|
|
fileSystems."/nix" = {
|
2023-11-09 16:10:11 +00:00
|
|
|
# device = "/dev/disk/by-uuid/0ab0770b-7734-4167-88d9-6e4e20bb2a56";
|
|
|
|
device = "/dev/disk/by-uuid/845d85bf-761d-431b-a406-e6f20909154f";
|
2022-05-22 09:03:25 +00:00
|
|
|
fsType = "btrfs";
|
|
|
|
options = [
|
|
|
|
"compress=zstd"
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
2023-11-09 16:10:11 +00:00
|
|
|
# device = "/dev/disk/by-uuid/41B6-BAEF";
|
|
|
|
device = "/dev/disk/by-uuid/5049-9AFD";
|
2022-05-22 09:03:25 +00:00
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
}
|