2014-04-12 17:45:12 +00:00
|
|
|
# GNOME Online Accounts daemon.
|
|
|
|
|
2014-05-05 18:58:51 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
2014-04-12 17:45:12 +00:00
|
|
|
|
2014-05-05 18:58:51 +00:00
|
|
|
with lib;
|
2014-04-12 17:45:12 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
|
2020-04-02 00:16:24 +00:00
|
|
|
meta = {
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
|
2021-05-07 21:18:14 +00:00
|
|
|
# Added 2021-05-07
|
|
|
|
imports = [
|
|
|
|
(mkRenamedOptionModule
|
|
|
|
[ "services" "gnome3" "gnome-online-accounts" "enable" ]
|
|
|
|
[ "services" "gnome" "gnome-online-accounts" "enable" ]
|
|
|
|
)
|
|
|
|
];
|
|
|
|
|
2014-04-12 17:45:12 +00:00
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
2021-05-07 21:18:14 +00:00
|
|
|
services.gnome.gnome-online-accounts = {
|
2014-04-12 17:45:12 +00:00
|
|
|
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
description = lib.mdDoc ''
|
|
|
|
Whether to enable GNOME Online Accounts daemon, a service that provides
|
|
|
|
a single sign-on framework for the GNOME desktop.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
2021-05-07 21:18:14 +00:00
|
|
|
config = mkIf config.services.gnome.gnome-online-accounts.enable {
|
2014-04-12 17:45:12 +00:00
|
|
|
|
2019-08-23 00:45:09 +00:00
|
|
|
environment.systemPackages = [ pkgs.gnome-online-accounts ];
|
2014-04-12 17:45:12 +00:00
|
|
|
|
2019-08-23 00:45:09 +00:00
|
|
|
services.dbus.packages = [ pkgs.gnome-online-accounts ];
|
2014-04-12 17:45:12 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|