Remove ‘services.journald.logKernelMessages’
This option no longer exists in systemd.
This commit is contained in:
parent
dd1770bf0b
commit
f451afea8f
@ -378,12 +378,6 @@ in
|
|||||||
description = "Default unit started when the system boots.";
|
description = "Default unit started when the system boots.";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.journald.logKernelMessages = mkOption {
|
|
||||||
default = true;
|
|
||||||
type = types.bool;
|
|
||||||
description = "Whether to log kernel messages.";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.journald.console = mkOption {
|
services.journald.console = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
type = types.uniq types.string;
|
type = types.uniq types.string;
|
||||||
@ -420,9 +414,6 @@ in
|
|||||||
ForwardToConsole=yes
|
ForwardToConsole=yes
|
||||||
TTYPath=${config.services.journald.console}
|
TTYPath=${config.services.journald.console}
|
||||||
''}
|
''}
|
||||||
${optionalString config.services.journald.logKernelMessages ''
|
|
||||||
ImportKernel=yes
|
|
||||||
''}
|
|
||||||
'';
|
'';
|
||||||
target = "systemd/journald.conf";
|
target = "systemd/journald.conf";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user