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 {
|
|
|
|
|
2017-09-24 12:15:50 +01:00
|
|
|
environment.systemPackages = [ pkgs.gnome3.gnome-disk-utility ];
|
2017-05-06 18:40:37 +01:00
|
|
|
|
2017-09-24 12:15:50 +01:00
|
|
|
services.dbus.packages = [ pkgs.gnome3.gnome-disk-utility ];
|
2017-05-06 18:40:37 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|