diff options
author | Alyssa Ross <hi@alyssa.is> | 2018-10-02 00:35:32 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-10-02 00:35:32 +0200 |
commit | c1dbb90bfdc3b13aa5976973a621fc104a0e55fb (patch) | |
tree | bd3f6e4c2b89e484f7d45c64a2eff5ff9926bce2 /nixos/modules/services/x11 | |
parent | 483880aeac6a04efe76c2834b1835fbcf12b2322 (diff) | |
download | nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.tar nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.tar.gz nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.tar.bz2 nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.tar.lz nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.tar.xz nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.tar.zst nixpkgs-c1dbb90bfdc3b13aa5976973a621fc104a0e55fb.zip |
lightdm: add extraConfig option (#47630)
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r-- | nixos/modules/services/x11/display-managers/lightdm.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix index 8078b93a757..a34f2370649 100644 --- a/nixos/modules/services/x11/display-managers/lightdm.nix +++ b/nixos/modules/services/x11/display-managers/lightdm.nix @@ -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"; |