ma 1 filepimp: prepare raid
This commit is contained in:
parent
2c20755e69
commit
076ffb185b
|
@ -9,12 +9,19 @@
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
../2configs/fs/single-partition-ext4.nix
|
../2configs/fs/single-partition-ext4.nix
|
||||||
../2configs/tinc-basic-retiolum.nix
|
../2configs/tinc-basic-retiolum.nix
|
||||||
|
../2configs/smart-monitor.nix
|
||||||
];
|
];
|
||||||
krebs.build.host = config.krebs.hosts.filepimp;
|
krebs.build.host = config.krebs.hosts.filepimp;
|
||||||
|
services.smartd.devices = [
|
||||||
|
{ device = "/dev/sda"; }
|
||||||
|
{ device = "/dev/sdb"; }
|
||||||
|
{ device = "/dev/sdc"; }
|
||||||
|
{ device = "/dev/sdd"; }
|
||||||
|
{ device = "/dev/sde"; }
|
||||||
|
];
|
||||||
# AMD N54L
|
# AMD N54L
|
||||||
boot = {
|
boot = {
|
||||||
loader.grub.device = "/dev/sda";
|
loader.grub.device = "/dev/sde";
|
||||||
|
|
||||||
initrd.availableKernelModules = [
|
initrd.availableKernelModules = [
|
||||||
"ahci"
|
"ahci"
|
||||||
|
@ -28,9 +35,9 @@
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
|
|
||||||
networking.firewall.allowPing = true;
|
zramSwap.enable = true;
|
||||||
|
zramSwap.numDevices = 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue