ops/nixos/client: adapt to new networkmanager config style
This commit is contained in:
parent
de74e5d3f4
commit
f0c0f0aa9d
1 changed files with 3 additions and 5 deletions
|
@ -12,11 +12,9 @@ in
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
nix.gc.automatic = false;
|
nix.gc.automatic = false;
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
networking.networkmanager.extraConfig = lib.mkAfter ''
|
|
||||||
[connection]
|
|
||||||
# Enable mDNS resolver/responder by default unless otherwise configured.
|
# 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 [
|
environment.systemPackages = with pkgs; lib.mkMerge [
|
||||||
(lib.mkIf config.virtualisation.podman.enable [ podman-compose ])
|
(lib.mkIf config.virtualisation.podman.enable [ podman-compose ])
|
||||||
|
|
Loading…
Reference in a new issue