nixpkgs/nixos/modules/services/desktops/gnome3/gvfs.nix
2014-05-26 11:13:51 +02:00

43 lines
624 B
Nix

# gvfs backends
{ config, pkgs, ... }:
with pkgs.lib;
let
gnome3 = config.environment.gnome3.packageSet;
in
{
###### interface
options = {
services.gnome3.gvfs = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable gvfs backends, userspace virtual filesystem used
by GNOME components via D-Bus.
'';
};
};
};
###### implementation
config = mkIf config.services.gnome3.gvfs.enable {
environment.systemPackages = [ gnome3.gvfs ];
services.dbus.packages = [ gnome3.gvfs ];
};
}