diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2015-10-17 19:11:22 +0200 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2015-10-28 22:04:40 +0100 |
commit | a92c024c7f86248e1e5f27e87da6c433d217069c (patch) | |
tree | ffe41225f060030f1a280542fef5263ff87a1787 /nixos/modules/services/x11/display-managers/sddm.nix | |
parent | e3246b357cbf0bce43d7bbee02175d3d590dde0e (diff) | |
download | nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.tar nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.tar.gz nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.tar.bz2 nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.tar.lz nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.tar.xz nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.tar.zst nixpkgs-a92c024c7f86248e1e5f27e87da6c433d217069c.zip |
sddm: allow extra config options
Diffstat (limited to 'nixos/modules/services/x11/display-managers/sddm.nix')
-rw-r--r-- | nixos/modules/services/x11/display-managers/sddm.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/sddm.nix b/nixos/modules/services/x11/display-managers/sddm.nix index c44383cc611..4594155ea13 100644 --- a/nixos/modules/services/x11/display-managers/sddm.nix +++ b/nixos/modules/services/x11/display-managers/sddm.nix @@ -35,6 +35,8 @@ let SessionCommand=${dmcfg.session.script} SessionDir=${dmcfg.session.desktops} XauthPath=${pkgs.xorg.xauth}/bin/xauth + + ${cfg.extraConfig} ''; in @@ -50,6 +52,19 @@ in ''; }; + extraConfig = mkOption { + type = types.str; + default = ""; + example = '' + [Autologin] + User=john + Session=plasma.desktop + ''; + description = '' + Extra lines appended to the configuration of SDDM. + ''; + }; + theme = mkOption { type = types.str; default = "maui"; |