nixpkgs/nixos/modules/system
Bjørn Forsman 00dfa5b4e5 nixos/systemd: disable timer units with service
A disabled systemd service with a "startAt" attribute, like this:

  systemd.services.foo-service = {
    enable = false;
    startAt = "*-*-* 05:15:00";
    ...
  };

will cause the following errors in the system journal:

  systemd[1]: foo-service.timer: Refusing to start, unit to trigger not loaded.
  systemd[1]: Failed to start foo-service.timer.

Fix it by not generating the corresponding timer unit when the service
is disabled.

(cherry picked from commit 2eb8aab42c)
2016-07-16 09:41:52 +02:00
..
activation switch-to-configuration: use absolute path to systemd-escape 2016-07-15 13:40:03 +02:00
boot nixos/systemd: disable timer units with service 2016-07-16 09:41:52 +02:00
etc etc: Use a friendlier name than "etc-file" 2015-12-30 15:17:30 +01:00