lightdm: add extraConfig option (#47630)
This commit is contained in:
parent
483880aeac
commit
c1dbb90bfd
@ -46,6 +46,7 @@ let
|
|||||||
greeters-directory = ${cfg.greeter.package}
|
greeters-directory = ${cfg.greeter.package}
|
||||||
''}
|
''}
|
||||||
sessions-directory = ${dmcfg.session.desktops}/share/xsessions
|
sessions-directory = ${dmcfg.session.desktops}/share/xsessions
|
||||||
|
${cfg.extraConfig}
|
||||||
|
|
||||||
[Seat:*]
|
[Seat:*]
|
||||||
xserver-command = ${xserverWrapper}
|
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 {
|
background = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png";
|
default = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user