1
0
Fork 0

mediaserver: wireguard wip

This commit is contained in:
Daniel Kempkens 2023-04-13 21:43:32 +02:00
parent d55857de28
commit 518b591d88
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 3 additions and 5 deletions

View file

@ -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";

View file

@ -69,6 +69,8 @@ in
useNetworkd = true;
};
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
systemd.network = {
enable = true;