summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 0d12c6cc..b9779763 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -250,6 +250,8 @@ in {
250 address = ["192.168.122.1/24" "fd45:febc:b028::/48"]; 250 address = ["192.168.122.1/24" "fd45:febc:b028::/48"];
251 networkConfig = { 251 networkConfig = {
252 ConfigureWithoutCarrier = true; 252 ConfigureWithoutCarrier = true;
253 LLMNR = false;
254 MulticastDNS = false;
253 }; 255 };
254 }; 256 };
255 }; 257 };
@@ -562,8 +564,6 @@ in {
562 services.udev.extraRules = with pkgs; lib.mkAfter '' 564 services.udev.extraRules = with pkgs; lib.mkAfter ''
563 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" 565 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service"
564 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" 566 SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service"
565
566 ACTION=="add", SUBSYSTEM=="net", KERNEL=="virbr0", ENV{NM_UNMANAGED}="1"
567 ''; 567 '';
568 568
569 services.btrfs.autoScrub = { 569 services.btrfs.autoScrub = {