summaryrefslogtreecommitdiff
path: root/hosts/sif
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-01 14:10:49 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-01 14:10:49 +0100
commit8214947d2bc9820c09b5527145843518c29b2b92 (patch)
tree8112c3e460356da2093d6371e38640953d02a08e /hosts/sif
parent8a2017bc1ae62362c256cc0a18f4226291c027ea (diff)
downloadnixos-8214947d2bc9820c09b5527145843518c29b2b92.tar
nixos-8214947d2bc9820c09b5527145843518c29b2b92.tar.gz
nixos-8214947d2bc9820c09b5527145843518c29b2b92.tar.bz2
nixos-8214947d2bc9820c09b5527145843518c29b2b92.tar.xz
nixos-8214947d2bc9820c09b5527145843518c29b2b92.zip
sif: networkmanager: don't manage virbr0
Diffstat (limited to 'hosts/sif')
-rw-r--r--hosts/sif/default.nix2
1 files changed, 2 insertions, 0 deletions
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 @@
302 services.udev.extraRules = with pkgs; lib.mkAfter '' 302 services.udev.extraRules = with pkgs; lib.mkAfter ''
303 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" 303 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service"
304 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" 304 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service"
305
306 ACTION=="add", SUBSYSTEM=="net", KERNEL=="virbr0", ENV{NM_UNMANAGED}="1"
305 ''; 307 '';
306 308
307 services.borgbackup = { 309 services.borgbackup = {