summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2013-11-15 21:56:45 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-11-16 16:50:59 +0100
commite0171ef0267c13e4a9d8888013a08b6ae0d19406 (patch)
tree95c0fb27023476cb06733a90af42b86e4d9efd32 /nixos
parentdde70f937826f5a3545a6e52eed8303740237abf (diff)
downloadnixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.tar
nixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.tar.gz
nixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.tar.bz2
nixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.tar.lz
nixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.tar.xz
nixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.tar.zst
nixpkgs-e0171ef0267c13e4a9d8888013a08b6ae0d19406.zip
systemd: Change services.logind.extraConfig type to types.lines
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 7c6807340fd..a2128041434 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -518,7 +518,7 @@ in
 
     services.logind.extraConfig = mkOption {
       default = "";
-      type = types.str;
+      type = types.lines;
       example = "HandleLidSwitch=ignore";
       description = ''
         Extra config options for systemd-logind. See man logind.conf for