diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-11-12 15:46:04 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-11-12 15:46:04 +0100 |
commit | fdcc0dbadadddddaaf2bf6b63f706dd2b6d95db3 (patch) | |
tree | a1e2f04d8e53ae6313ef6da0b91323c44a86de65 /hel.nix | |
parent | ba5379041a171f671f8bff36be1cf449fbfc02b4 (diff) | |
download | nixos-fdcc0dbadadddddaaf2bf6b63f706dd2b6d95db3.tar nixos-fdcc0dbadadddddaaf2bf6b63f706dd2b6d95db3.tar.gz nixos-fdcc0dbadadddddaaf2bf6b63f706dd2b6d95db3.tar.bz2 nixos-fdcc0dbadadddddaaf2bf6b63f706dd2b6d95db3.tar.xz nixos-fdcc0dbadadddddaaf2bf6b63f706dd2b6d95db3.zip |
Revert "Make autorandr system wide and automatic"
This reverts commit 37b87bd5a4b85b154e298a9c083bb7eaee10065e.
Diffstat (limited to 'hel.nix')
-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" |