nixpkgs/nixos/modules/services/desktops/gnome3/gnome-disks.nix

40 lines
622 B
Nix
Raw Normal View History

2017-05-06 18:40:37 +01:00
# GNOME Disks daemon.
{ config, pkgs, lib, ... }:
with lib;
{
###### interface
options = {
services.gnome3.gnome-disks = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable GNOME Disks daemon, a service designed to
be a UDisks2 graphical front-end.
'';
};
};
};
###### implementation
config = mkIf config.services.gnome3.gnome-disks.enable {
environment.systemPackages = [ pkgs.gnome3.gnome-disk-utility ];
2017-05-06 18:40:37 +01:00
services.dbus.packages = [ pkgs.gnome3.gnome-disk-utility ];
2017-05-06 18:40:37 +01:00
};
}