From 708e1eb8ba6403e9ff03586204b74c9b293b9810 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 3 Jun 2021 21:56:17 -0400 Subject: nixos/anbox: mark anbox0 as unmanaged with NetworkManager --- nixos/modules/virtualisation/anbox.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/virtualisation') diff --git a/nixos/modules/virtualisation/anbox.nix b/nixos/modules/virtualisation/anbox.nix index c7e9e23c4c92..0473742c8550 100644 --- a/nixos/modules/virtualisation/anbox.nix +++ b/nixos/modules/virtualisation/anbox.nix @@ -87,6 +87,9 @@ in internalInterfaces = [ "anbox0" ]; }; + # Ensures NetworkManager doesn't touch anbox0 + networking.networkmanager.unmanaged = [ "anbox0" ]; + systemd.services.anbox-container-manager = let anboxloc = "/var/lib/anbox"; in { -- cgit 1.4.1