server10: use latest kernel, enable tmpOnTmpfs
This commit is contained in:
parent
e077cd1cd3
commit
2e18ffa8bb
|
@ -17,11 +17,14 @@
|
||||||
# Define on which hard drive you want to install Grub.
|
# Define on which hard drive you want to install Grub.
|
||||||
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"preempt=none"
|
"preempt=none"
|
||||||
# No server/router runs any untrusted user code
|
# No server/router runs any untrusted user code
|
||||||
"mitigations=off"
|
"mitigations=off"
|
||||||
];
|
];
|
||||||
|
boot.tmpOnTmpfs = true;
|
||||||
|
boot.tmpOnTmpfsSize = "80%";
|
||||||
|
|
||||||
networking.hostName = "server10"; # Define your hostname.
|
networking.hostName = "server10"; # Define your hostname.
|
||||||
networking.hostId = "10101010";
|
networking.hostId = "10101010";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user