3
0
Fork 0
forked from mirrors/nixpkgs

lightdm: add extraConfig option (#47630)

This commit is contained in:
Alyssa Ross 2018-10-02 00:35:32 +02:00 committed by xeji
parent 483880aeac
commit c1dbb90bfd

View file

@ -46,6 +46,7 @@ let
greeters-directory = ${cfg.greeter.package}
''}
sessions-directory = ${dmcfg.session.desktops}/share/xsessions
${cfg.extraConfig}
[Seat:*]
xserver-command = ${xserverWrapper}
@ -113,6 +114,15 @@ in
};
};
extraConfig = mkOption {
type = types.lines;
default = "";
example = ''
user-authority-in-system-dir = true
'';
description = "Extra lines to append to LightDM section.";
};
background = mkOption {
type = types.str;
default = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png";