summary refs log tree commit diff
path: root/nixos/modules/services/desktops/gnome3
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-04-12 19:45:12 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-04-14 09:58:04 +0200
commitc6383af311edacfb837be33ae00413b017bf52a9 (patch)
tree539a79ef6dfa595fe7b516253a00bb5e19c09765 /nixos/modules/services/desktops/gnome3
parent64ce2101a48643ccc407cc5288b9f593ec7b6f15 (diff)
downloadnixlib-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.nix39
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 ];
+
+  };
+
+}