1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/nixos/modules
Bjørn Forsman 2eb8aab42c 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.
2016-07-11 22:42:47 +02:00
..
config nixos/swap: support for resizing swapfile 2016-07-06 16:04:27 +02:00
hardware nixos ati_unfree: auto-switch xorg to fglrxComat 2016-05-23 10:12:44 +02:00
i18n/input-method fcitx: refactor (#16858) 2016-07-11 17:50:22 +02:00
installer sd-image-armv7l-multiplatform.nix: Preliminary Raspberry Pi 2/3 support 2016-07-04 02:07:13 +03:00
misc nixos/elasticsearch: Set a group on the user 2016-07-01 18:21:42 +02:00
profiles documentation: fix start display-manager command 2016-07-04 10:25:31 +02:00
programs nixos/bash: enable colors during completion 2016-07-09 20:51:31 +01:00
security Merge pull request #16180 from zimbatm/shell-escaping 2016-06-19 23:27:52 +01:00
services offlineimap: add nixos module (#16842) 2016-07-11 10:37:18 +02:00
system nixos/systemd: disable timer units with service 2016-07-11 22:42:47 +02:00
tasks Make fileSystems example literal. 2016-06-19 01:21:22 -06:00
testing KDE test: Bump kdm start timeout 2016-05-27 11:22:27 +02:00
virtualisation amazon-image.nix: Add the ena driver 2016-07-11 14:32:18 +02:00
module-list.nix offlineimap: add nixos module (#16842) 2016-07-11 10:37:18 +02:00
rename.nix nixos: rewrite the grsecurity module 2016-06-14 03:38:12 +02:00