diff options
-rw-r--r-- | hel.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -166,7 +166,8 @@ | |||
166 | chrony = { | 166 | chrony = { |
167 | enable = true; | 167 | enable = true; |
168 | extraConfig = '' | 168 | extraConfig = '' |
169 | refclock SOCK /var/run/chrony.gps0.sock delay 0.0 refid GPS | 169 | refclock SHM 0 refid GPS |
170 | refclock SHM 1 refid PPS | ||
170 | ''; | 171 | ''; |
171 | }; | 172 | }; |
172 | 173 | ||
@@ -290,6 +291,8 @@ | |||
290 | }; | 291 | }; |
291 | }; | 292 | }; |
292 | 293 | ||
294 | systemd.services."gpsd".after = [ "chronyd.service" ]; | ||
295 | |||
293 | users = { | 296 | users = { |
294 | mutableUsers = false; | 297 | mutableUsers = false; |
295 | 298 | ||