blob: 448934f00a200af260f9faac371d1c15b7770e80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ 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 gnome3.dconf gnome3.gnome-keyring ];
};
udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ];
gvfs = {
enable = true;
package = pkgs.gnome.gvfs;
};
gnome = {
gnome-keyring.enable = true;
# !https://github.com/NixOS/nixpkgs/issues/16327
at-spi2-core.enable = true;
};
};
};
}
|