about summary refs log tree commit diff
path: root/modules/services/gnome/default.nix
blob: 46619eb9e5bcb78b931f563ca2768e19bb3f57b7 (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 ];
      };

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

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