about summary refs log tree commit diff
path: root/modules/services/gnome/default.nix
blob: 392496a325d9ba1873426853ecfc209b7e38bba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, pkgs, lib, ... }:
let cfg = config.my.services.gnome;
in
{
  options.my.services.gnome = with lib; { enable = mkEnableOption "gnome"; };

  config = lib.mkIf cfg.enable {
    services = {
      dbus = {
        enable = true;
        packages = with pkgs; [ gcr dconf gnome3.gnome-keyring ];
      };

      udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ];

      gvfs = {
        enable = true;
        package = pkgs.gnome.gvfs;
      };
    };
  };
}