1
0
Fork 0

mediaserver: wireguard wip

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

View file

@ -1,5 +1,8 @@
{ pkgs, modulesPath, ... }:
let
latestKernelPackage = pkgs.linuxPackages_latest;
in
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
@ -14,8 +17,9 @@
kernelModules = [ "tls" ];
};
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = latestKernelPackage;
kernelModules = [ "kvm-intel" "tcp_bbr" ];
extraModulePackages = [ latestKernelPackage.wireguard ];
kernel.sysctl = {
"net.core.default_qdisc" = "fq";

View file

@ -13,8 +13,6 @@ in
../nixos/attic.nix
../nixos/openvpn-mediaserver.nix
../nixos/tailscale.nix
];