mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 02:18:12 +09:00
26 lines
408 B
Nix
26 lines
408 B
Nix
{
|
|
fileSystems."/nix/store" = {
|
|
device = "/dev/disk/by-label/nix-store";
|
|
fsType = "ext4";
|
|
|
|
options = [
|
|
"noatime"
|
|
];
|
|
|
|
neededForBoot = true;
|
|
};
|
|
|
|
fileSystems."/var/lib/nix-build" = {
|
|
device = "/dev/disk/by-label/nix-build";
|
|
fsType = "ext4";
|
|
|
|
options = [
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
nix.settings.build-dir = "/var/lib/nix-build";
|
|
|
|
services.fstrim.enable = true;
|
|
}
|