22 lines
496 B
Nix
22 lines
496 B
Nix
{ ... }:
|
|
|
|
{
|
|
# increase /tmp space (defaults to 50% of RAM) for building large nix things.
|
|
# a cross-compiled kernel, particularly, will easily use 30+GB of tmp
|
|
fileSystems."/tmp".options = [ "size=64G" ];
|
|
|
|
fileSystems."/nix" = {
|
|
device = "/dev/disk/by-uuid/845d85bf-761d-431b-a406-e6f20909154f";
|
|
fsType = "btrfs";
|
|
options = [
|
|
"compress=zstd"
|
|
"defaults"
|
|
];
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/5049-9AFD";
|
|
fsType = "vfat";
|
|
};
|
|
}
|