summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-12 18:20:57 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-12 18:52:10 +0100
commit691c0cd72e96cc6c75b46112c287b07bd571df26 (patch)
tree8790b0add74b88afcf536d4ff4763e8a22c56d55 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent3358906395d2692dcda515418d6300ebed29a690 (diff)
systemd: Allow customisation of upstream units
You can now say: systemd.services.foo.baseUnit = "${pkgs.foo}/.../foo.service"; This will cause NixOS' generated foo.service file to include foo.service from the foo package. You can then apply local customization in the usual way: systemd.services.foo.serviceConfig.MemoryLimit = "512M"; Note however that overriding options in the original unit may not work. For instance, you cannot override ExecStart. It's also possible to customize instances of template units: systemd.services."getty@tty4" = { baseUnit = "/etc/systemd/system/getty@.service"; serviceConfig.MemoryLimit = "512M"; }; This replaces the unit options linkTarget (which didn't allow customisation) and extraConfig (which did allow customisation, but in a non-standard way).
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions