mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 00:58:12 +09:00
28 lines
455 B
Nix
28 lines
455 B
Nix
{
|
|
imports = [ ./hardware-configuration.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;
|
|
}
|