1 # Accounts-SSO gSignOn daemon
2 { config, lib, pkgs, ... }:
4 package = pkgs.gsignond.override { plugins = config.services.gsignond.plugins; };
8 meta.maintainers = lib.teams.pantheon.members;
16 enable = lib.mkOption {
17 type = lib.types.bool;
20 Whether to enable gSignOn daemon, a DBus service
21 which performs user authentication on behalf of its clients.
25 plugins = lib.mkOption {
26 type = lib.types.listOf lib.types.package;
29 What plugins to use with the gSignOn daemon.
36 config = lib.mkIf config.services.gsignond.enable {
37 environment.etc."gsignond.conf".source = "${package}/etc/gsignond.conf";
38 services.dbus.packages = [ package ];