nixos-module/defaults: prevent bond0 autocreation
This commit is contained in:
parent
498970035a
commit
e9a2092608
|
@ -1,8 +1,12 @@
|
|||
{ hostName, inputs, pkgs, options, lib, ... }:
|
||||
|
||||
{
|
||||
# No server/router runs any untrusted user code
|
||||
boot.kernelParams = [ "mitigations=off" ];
|
||||
boot.kernelParams = [
|
||||
# No server/router runs any untrusted user code
|
||||
"mitigations=off"
|
||||
# Prevents automatic creation of interface bond0 by the kernel
|
||||
"bonding.max_bonds=0"
|
||||
];
|
||||
# Includes wireguard
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
|
|
Loading…
Reference in New Issue