diff options
-rw-r--r-- | hel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -497,7 +497,7 @@ | |||
497 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" | 497 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" |
498 | 498 | ||
499 | KERNELS=="1-2:1.2", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK+="gps0" | 499 | KERNELS=="1-2:1.2", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK+="gps0" |
500 | KERNELS=="1-2:1.3", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK+="gpsctl0", TAG+="systemd" | 500 | KERNELS=="1-2:1.3", ENV{ID_MM_DEVICE_IGNORE}="1", SYMLINK+="gpsctl0", TAG+="systemd", SYSTEMD_WANTS+="gpscfg.timer" |
501 | ''; | 501 | ''; |
502 | 502 | ||
503 | systemd.services."gpscfg" = { | 503 | systemd.services."gpscfg" = { |
@@ -514,7 +514,7 @@ | |||
514 | bindsTo = [ "dev-gpscfg0.device" ]; | 514 | bindsTo = [ "dev-gpscfg0.device" ]; |
515 | after = [ "dev-gpscfg0.device" ]; | 515 | after = [ "dev-gpscfg0.device" ]; |
516 | 516 | ||
517 | wantedBy = [ "dev-gpscfg0.device" ]; | 517 | # wantedBy = [ "dev-gpscfg0.device" ]; |
518 | 518 | ||
519 | timerConfig = { | 519 | timerConfig = { |
520 | OnActiveSec = "0s"; | 520 | OnActiveSec = "0s"; |