ops/nixos/client: adapt to new networkmanager config style

This commit is contained in:
Luke Granger-Brown 2024-04-26 18:54:47 +01:00
parent de74e5d3f4
commit f0c0f0aa9d

View file

@ -12,11 +12,9 @@ in
programs.ssh.startAgent = true;
nix.gc.automatic = false;
services.udisks2.enable = true;
networking.networkmanager.extraConfig = lib.mkAfter ''
[connection]
# Enable mDNS resolver/responder by default unless otherwise configured.
connection.mdns=2
'';
networking.networkmanager.settings.connection."connection.mdns" = 2;
environment.systemPackages = with pkgs; lib.mkMerge [
(lib.mkIf config.virtualisation.podman.enable [ podman-compose ])