diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-30 13:47:48 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-30 13:47:48 +0100 |
| commit | d46b32761c6a49fb0a4a2b384ff94960fb533a4c (patch) | |
| tree | 3cb8ff7506c535edc8e20bbf121b0228dc8028f3 | |
| parent | cfd7b30b7b5326484fe89e4edca412c1ddf3e43f (diff) | |
| download | nixos-d46b32761c6a49fb0a4a2b384ff94960fb533a4c.tar nixos-d46b32761c6a49fb0a4a2b384ff94960fb533a4c.tar.gz nixos-d46b32761c6a49fb0a4a2b384ff94960fb533a4c.tar.bz2 nixos-d46b32761c6a49fb0a4a2b384ff94960fb533a4c.tar.xz nixos-d46b32761c6a49fb0a4a2b384ff94960fb533a4c.zip | |
…
| -rw-r--r-- | hel.nix | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -474,10 +474,7 @@ | |||
| 474 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" | 474 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", RUN+="${systemd}/bin/systemctl --no-block stop ac-plugged.service" |
| 475 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" | 475 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" |
| 476 | 476 | ||
| 477 | # Disallow ModemManager from touching Sierra Wireless EM7455 tty ports | 477 | KERNELS=="1-2:1.2", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK+="gps0" |
| 478 | SUBSYSTEM=="tty", ATTR{idVendor}=="1199", ATTR{idProduct}=="9079", ENV{ID_MM_DEVICE_MANUAL_SCAN_ONLY}="1" | ||
| 479 | |||
| 480 | KERNELS=="1-2:1.2", SYMLINK+="gps0" | ||
| 481 | ''; | 478 | ''; |
| 482 | } | 479 | } |
| 483 | 480 | ||
