diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:30:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:30:59 -0700 |
commit | 4a53f6321bf137c4cbd8f234dd2027ad9407499b (patch) | |
tree | 7ed97487e97bc4da276756bf9d4558a055ef93e8 /modules/services/gnome | |
parent | home: add more configurations for home-manager (diff) | |
download | world-4a53f6321bf137c4cbd8f234dd2027ad9407499b.tar.gz |
modules: add a few more
Diffstat (limited to '')
-rw-r--r-- | modules/services/gnome/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/services/gnome/default.nix b/modules/services/gnome/default.nix new file mode 100644 index 0000000..448934f --- /dev/null +++ b/modules/services/gnome/default.nix @@ -0,0 +1,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; + }; + }; + }; +} |