systemd: add services.journald.extraConfig option
This commit is contained in:
parent
c06361a1fc
commit
c4885173b6
@ -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 {
|
services.logind.extraConfig = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
@ -585,6 +595,7 @@ in
|
|||||||
ForwardToConsole=yes
|
ForwardToConsole=yes
|
||||||
TTYPath=${config.services.journald.console}
|
TTYPath=${config.services.journald.console}
|
||||||
''}
|
''}
|
||||||
|
${config.services.journald.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
environment.etc."systemd/logind.conf".text =
|
environment.etc."systemd/logind.conf".text =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user