services.udisks2.settings

NixOS option

Options passed to udisksd. See here and drive configuration in here for supported options.

type: attribute set of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them)
Default
{
  "udisks2.conf" = {
    defaults = {
      encryption = "luks2";
    };
    udisks2 = {
      modules = [
        "*"
      ];
      modules_load_preference = "ondemand";
    };
  };
}
Example
{
  "WDC-WD10EZEX-60M2NA0-WD-WCC3F3SJ0698.conf" = {
    ATA = {
      StandbyTimeout = 50;
    };
  };
};
declared in: nixos/modules/services/hardware/udisks2.nixView source on NixOS/nixpkgs →