MyNixOS website logo
option

programs.nix-required-mounts.allowedPatterns

The hook config, describing which paths to mount for which system features.

Declarations
Type
attribute set of (submodule)
Default
{
  opengl.paths = config.hardware.opengl.extraPackages ++ [
    config.hardware.opengl.package
    pkgs.addDriverRunpath.driverLink
    "/dev/dri"
  ];
}
Example
{
  require-ipfs = {
    onFeatures = [
      "ifps"
    ];
    paths = [
      "/ipfs"
    ];
  };
}