diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-24 16:54:27 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-24 16:54:27 +0100 |
commit | 3032fc55abfc631c2fea559948dfaaeb799284d0 (patch) | |
tree | cba2a572a019fb70fa0d9e0f65e715a7b9a6e429 /hosts/sif | |
parent | ba86ae504d8ea9796e43c1b061aa070761cd1323 (diff) | |
download | nixos-3032fc55abfc631c2fea559948dfaaeb799284d0.tar nixos-3032fc55abfc631c2fea559948dfaaeb799284d0.tar.gz nixos-3032fc55abfc631c2fea559948dfaaeb799284d0.tar.bz2 nixos-3032fc55abfc631c2fea559948dfaaeb799284d0.tar.xz nixos-3032fc55abfc631c2fea559948dfaaeb799284d0.zip |
...
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/default.nix | 4 |
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 = { |