diff --git a/nixos/modules/services/hardware/udisks2.nix b/nixos/modules/services/hardware/udisks2.nix index 0f61f20c33c3..f5b641c7378b 100644 --- a/nixos/modules/services/hardware/udisks2.nix +++ b/nixos/modules/services/hardware/udisks2.nix @@ -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. diff --git a/nixos/modules/virtualisation/container-config.nix b/nixos/modules/virtualisation/container-config.nix index 76e4b5612184..195a8056bf82 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -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;