fix: further koishi fixup

This commit is contained in:
Kat Inskip 2023-01-29 09:28:51 -08:00
parent 6723c8020e
commit 323c26e58d
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,6 @@
{ pkgs, ... }: {
{ lib, pkgs, ... }: let
inherit (lib.modules) mkForce;
in {
systemd.services.NetworkManager-wait-online = {
serviceConfig.ExecStart = [ "" "${pkgs.networkmanager}/bin/nm-online -q" ];
};
@ -35,12 +37,12 @@
networking = {
firewall = {
allowedUDPPorts = [ 5353 ];
allowedUDPPortRanges = [ { from = "32768"; to="60999" } ];
allowedUDPPortRanges = [ { from = 32768; to=60999; } ];
};
networkmanager = {
enable = true;
connectionConfig = {
"ipv6.ip6-privacy" = lib.mkForce 0;
"ipv6.ip6-privacy" = mkForce 0;
};
};
};