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