1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/modules/services/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
..
cgroups.nix Use /sys/fs/cgroup instead of /dev/cgroup 2012-07-30 13:49:18 -04:00
dbus.nix dbus.nix: Fix path to dbus-send 2012-07-20 17:38:36 -04:00
kerberos.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
nscd.conf * Continued refactoring the tree: moved most Upstart jobs (namely 2009-05-24 23:13:23 +00:00
nscd.nix Make unitConfig/serviceConfig attribute sets 2012-10-01 16:27:42 -04:00
uptimed.nix * Use boot.kernelModules everywhere instead of explicit calls to 2012-03-17 17:26:17 +00:00