From ec2378f07b68c7b17d7cb64036e1b98747aaad8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 2 Mar 2013 19:45:47 +0100 Subject: [PATCH] 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. --- modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/systemd.nix b/modules/system/boot/systemd.nix index 9da3afa59985..9534e382c923 100644 --- a/modules/system/boot/systemd.nix +++ b/modules/system/boot/systemd.nix @@ -520,7 +520,7 @@ in } { source = pkgs.writeText "logind.conf" '' - [Logind] + [Login] ${config.services.logind.extraConfig} ''; target = "systemd/logind.conf";