mediaserver: wireguard wip
This commit is contained in:
parent
d55857de28
commit
518b591d88
2 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,5 @@
|
|||
{ pkgs, modulesPath, ... }:
|
||||
|
||||
let
|
||||
latestKernelPackage = pkgs.linuxPackages_latest;
|
||||
in
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
|
@ -17,9 +14,8 @@ in
|
|||
kernelModules = [ "tls" ];
|
||||
};
|
||||
|
||||
kernelPackages = latestKernelPackage;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelModules = [ "kvm-intel" "tcp_bbr" ];
|
||||
extraModulePackages = [ latestKernelPackage.wireguard ];
|
||||
|
||||
kernel.sysctl = {
|
||||
"net.core.default_qdisc" = "fq";
|
||||
|
|
|
@ -69,6 +69,8 @@ in
|
|||
useNetworkd = true;
|
||||
};
|
||||
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue