aboutsummaryrefslogblamecommitdiff
path: root/modules/services/gnome/default.nix
blob: 392496a325d9ba1873426853ecfc209b7e38bba0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                   

  





                                                                             
                                                                 







                                                                  


      
{ 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;
      };
    };
  };
}