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:
parent
894e2dfb25
commit
18a7ce76fc
@ -14,7 +14,7 @@ with lib;
|
|||||||
|
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = true;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable Udisks, a DBus service that allows
|
Whether to enable Udisks, a DBus service that allows
|
||||||
applications to query and manipulate storage devices.
|
applications to query and manipulate storage devices.
|
||||||
|
@ -6,7 +6,9 @@ with lib;
|
|||||||
|
|
||||||
config = mkIf config.boot.isContainer {
|
config = mkIf config.boot.isContainer {
|
||||||
|
|
||||||
|
# Disable some features that are not useful in a container.
|
||||||
sound.enable = mkDefault false;
|
sound.enable = mkDefault false;
|
||||||
|
services.udisks2.enable = mkDefault false;
|
||||||
|
|
||||||
networking.useHostResolvConf = true;
|
networking.useHostResolvConf = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user