diff options
-rw-r--r-- | hosts/sif/default.nix | 2 |
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 = { |