Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.infat.enable

Whether to enable infat.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.infat.package

The infat package to use.

Type: null or package

Default:

pkgs.infat

Declared by:

programs.infat.autoActivate

Auto-activation settings for infat.

For backwards compatibility, this option also accepts a boolean. Boolean values are deprecated; use programs.infat.autoActivate.enable instead.

Type: (submodule) or boolean convertible to it

Default:

{ }

Example:

{
  enable = true;
  extraArgs = [
    "--robust"
    "--quiet"
  ];
}

Declared by:

programs.infat.autoActivate.enable

Automatically activate infat on startup. This is useful if you want to use infat as a default application handler for certain file types. If you don’t want this, set this to false. This option is only effective if settings is set.

Type: boolean

Default:

true

Example:

false

Declared by:

programs.infat.autoActivate.extraArgs

Additional arguments to pass when auto-activating infat. This can be used to customize the behavior of infat when it is auto-activated on startup. Call infat --help for more information on available arguments. If programs.infat.settings is set, config will be added automatically. Otherwise you can set config to point to a custom configuration file.

Type: list of string

Default:

[
  "--robust"
]

Example:

[
  "--robust"
  "--quiet"
]

Declared by:

programs.infat.settings

Configuration written to $XDG_CONFIG_HOME/infat/config.toml.

Type: TOML value

Default:

{ }

Example:

{
  extensions = {
    html = "Safari";
    md = "TextEdit";
    pdf = "Preview";
  };
  schemes = {
    mailto = "Mail";
    web = "Safari";
  };
  types = {
    plain-text = "VSCode";
  };
}

Declared by: