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;
};
};
};

View file

@ -1,5 +1,5 @@
_: let
hostConfig = {tree, ...}: {
hostConfig = {tree, pkgs, ...}: {
imports = with tree; [
nixos.gui
kat.gui
@ -20,7 +20,7 @@ _: let
{device = "/dev/disk/by-uuid/0d846453-95b4-46e1-8eaf-b910b4321ef0";}
];
home-manager.SharedModules = [
home-manager.sharedModules = [
{
wayland.windowManager.sway.config.input."2:7:SynPS/2_Synaptics_TouchPad" = {
dwt = "enabled";