3
0
Fork 0
forked from mirrors/nixpkgs

systemd: Add systemd.extraConfig option for /etc/systemd/system.conf

This commit is contained in:
Ricardo M. Correia 2013-11-15 19:49:01 +01:00 committed by Bjørn Forsman
parent e0171ef026
commit 36a05c7b15

View file

@ -486,6 +486,16 @@ in
'';
};
systemd.extraConfig = mkOption {
default = "";
type = types.lines;
example = "DefaultLimitCORE=infinity";
description = ''
Extra config options for systemd. See man systemd-system.conf for
available options.
'';
};
services.journald.console = mkOption {
default = "";
type = types.str;
@ -555,6 +565,7 @@ in
environment.etc."systemd/system.conf".text =
''
[Manager]
${config.systemd.extraConfig}
'';
environment.etc."systemd/journald.conf".text =