systemd: add services.journald.extraConfig option

This commit is contained in:
Song Wenwu 2013-11-29 18:57:42 +08:00 committed by Bjørn Forsman
parent c06361a1fc
commit c4885173b6

View file

@ -534,6 +534,16 @@ in
'';
};
services.journald.extraConfig = mkOption {
default = "";
type = types.lines;
example = "Storage=volatile";
description = ''
Extra config options for systemd-journald. See man journald.conf
for available options.
'';
};
services.logind.extraConfig = mkOption {
default = "";
type = types.lines;
@ -585,6 +595,7 @@ in
ForwardToConsole=yes
TTYPath=${config.services.journald.console}
''}
${config.services.journald.extraConfig}
'';
environment.etc."systemd/logind.conf".text =