systemd-logind: fix config file header: [Logind] => [Login]
man logind.conf clearly states that the header is [Login] (no 'd'). Without this fix services.logind.extraConfig does not take effect because logind ignores the invalidly named section.
This commit is contained in:
@@ -520,7 +520,7 @@ in
|
|||||||
}
|
}
|
||||||
{ source = pkgs.writeText "logind.conf"
|
{ source = pkgs.writeText "logind.conf"
|
||||||
''
|
''
|
||||||
[Logind]
|
[Login]
|
||||||
${config.services.logind.extraConfig}
|
${config.services.logind.extraConfig}
|
||||||
'';
|
'';
|
||||||
target = "systemd/logind.conf";
|
target = "systemd/logind.conf";
|
||||||
|
|||||||
Reference in New Issue
Block a user