Enable udisks2 by default

The ability for unprivileged users to mount external media is useful
regardless of the desktop environment. Also, since udisks2 is
activated on-demand, it doesn't add any overhead if you're not using it.
This commit is contained in:
Eelco Dolstra 2014-04-19 14:41:21 +02:00
parent 894e2dfb25
commit 18a7ce76fc
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ with lib;
enable = mkOption {
type = types.bool;
default = false;
default = true;
description = ''
Whether to enable Udisks, a DBus service that allows
applications to query and manipulate storage devices.

View File

@ -6,7 +6,9 @@ with lib;
config = mkIf config.boot.isContainer {
# Disable some features that are not useful in a container.
sound.enable = mkDefault false;
services.udisks2.enable = mkDefault false;
networking.useHostResolvConf = true;