nixpkgs/modules/system
Eelco Dolstra 891be375b5 Make unitConfig/serviceConfig attribute sets
So instead of:

  boot.systemd.services."foo".serviceConfig =
    ''
      StartLimitInterval=10
      CPUShare=500
    '';

you can say:

  boot.systemd.services."foo".serviceConfig.StartLimitInterval = 10;
  boot.systemd.services."foo".serviceConfig.CPUShare = 500;

This way all unit options are available and users can set/override
options in configuration.nix.
2012-10-01 16:27:42 -04:00
..
activation Restart systemd if necessary 2012-09-21 14:58:28 -04:00
boot Make unitConfig/serviceConfig attribute sets 2012-10-01 16:27:42 -04:00
etc * Support globbing in the source attribute of environment.etc entries. 2012-05-17 18:43:45 +00:00
upstart Make unitConfig/serviceConfig attribute sets 2012-10-01 16:27:42 -04:00