diff --git a/hosts/patricknix/default.nix b/hosts/patricknix/default.nix index 67a6129..be801cc 100644 --- a/hosts/patricknix/default.nix +++ b/hosts/patricknix/default.nix @@ -23,7 +23,6 @@ ./net.nix ./fs.nix - ./smb-mounts.nix ./wireguard.nix ../../users/patrick diff --git a/modules/config/net.nix b/modules/config/net.nix index 285a1db..589412a 100644 --- a/modules/config/net.nix +++ b/modules/config/net.nix @@ -3,12 +3,14 @@ useNetworkd = true; dhcpcd.enable = false; }; - # Should remain enabled since nscd from glibc is kinda ass - services.nscd.enableNsncd = true; systemd.network = { enable = true; wait-online.anyInterface = true; }; + system.nssDatabases.hosts = lib.mkMerge [ + (lib.mkBefore ["mdns_minimal [NOTFOUND=return]"]) + (lib.mkAfter ["mdns"]) + ]; services.resolved = { enable = true; # man I whish dnssec would be viable to use diff --git a/modules/graphical/wayland.nix b/modules/graphical/wayland.nix index 6458a54..958f58c 100644 --- a/modules/graphical/wayland.nix +++ b/modules/graphical/wayland.nix @@ -5,4 +5,9 @@ wlr.enable = false; extraPortals = with pkgs; [xdg-desktop-portal-wlr]; }; + environment.systemPackages = with pkgs; [ + xdg-utils + wdisplays + wl-clipboard + ]; }