diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2014-04-12 19:45:12 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2014-04-14 09:58:04 +0200 |
commit | c6383af311edacfb837be33ae00413b017bf52a9 (patch) | |
tree | 539a79ef6dfa595fe7b516253a00bb5e19c09765 /nixos/modules/services/desktops/gnome3 | |
parent | 64ce2101a48643ccc407cc5288b9f593ec7b6f15 (diff) | |
download | nixlib-c6383af311edacfb837be33ae00413b017bf52a9.tar nixlib-c6383af311edacfb837be33ae00413b017bf52a9.tar.gz nixlib-c6383af311edacfb837be33ae00413b017bf52a9.tar.bz2 nixlib-c6383af311edacfb837be33ae00413b017bf52a9.tar.lz nixlib-c6383af311edacfb837be33ae00413b017bf52a9.tar.xz nixlib-c6383af311edacfb837be33ae00413b017bf52a9.tar.zst nixlib-c6383af311edacfb837be33ae00413b017bf52a9.zip |
gnome-online-accounts: add dbus service
Diffstat (limited to 'nixos/modules/services/desktops/gnome3')
-rw-r--r-- | nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix b/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix new file mode 100644 index 000000000000..365e19c15bb1 --- /dev/null +++ b/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix @@ -0,0 +1,39 @@ +# GNOME Online Accounts daemon. + +{ config, pkgs, ... }: + +with pkgs.lib; + +{ + + ###### interface + + options = { + + services.gnome3.gnome-online-accounts = { + + enable = mkOption { + type = types.bool; + default = false; + description = '' + Whether to enable GNOME Online Accounts daemon, a service that provides + a single sign-on framework for the GNOME desktop. + ''; + }; + + }; + + }; + + + ###### implementation + + config = mkIf config.services.gnome3.gnome-online-accounts.enable { + + environment.systemPackages = [ pkgs.gnome3.gnome_online_accounts ]; + + services.dbus.packages = [ pkgs.gnome3.gnome_online_accounts ]; + + }; + +} |