diff options
-rw-r--r-- | hel.nix | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -477,9 +477,6 @@ | |||
477 | }; | 477 | }; |
478 | }; | 478 | }; |
479 | 479 | ||
480 | services.udev.packages = with pkgs; [ autorandr ]; | ||
481 | systemd.packages = with pkgs; [ autorandr ]; | ||
482 | |||
483 | services.udev.extraRules = with pkgs; '' | 480 | services.udev.extraRules = with pkgs; '' |
484 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" | 481 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" |
485 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" | 482 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" |