forked from c3d2/nix-config
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.
|
||||
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelParams = [
|
||||
"preempt=none"
|
||||
# No server/router runs any untrusted user code
|
||||
"mitigations=off"
|
||||
];
|
||||
boot.tmpOnTmpfs = true;
|
||||
boot.tmpOnTmpfsSize = "80%";
|
||||
|
||||
networking.hostName = "server10"; # Define your hostname.
|
||||
networking.hostId = "10101010";
|
||||
|
|
Loading…
Reference in New Issue
Block a user