From 8214947d2bc9820c09b5527145843518c29b2b92 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 1 Dec 2021 14:10:49 +0100 Subject: sif: networkmanager: don't manage virbr0 --- hosts/sif/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hosts/sif') diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index b79dc6ef..35b3e6e7 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -302,6 +302,8 @@ services.udev.extraRules = with pkgs; lib.mkAfter '' SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" + + ACTION=="add", SUBSYSTEM=="net", KERNEL=="virbr0", ENV{NM_UNMANAGED}="1" ''; services.borgbackup = { -- cgit v1.2.3