programs.boxxy.enable
Whether to enable boxxy: Boxes in badly behaving applications.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.boxxy.package
The boxxy package to use.
Type: null or package
Default:
pkgs.boxxy
Declared by:
programs.boxxy.rules
List of boxxy rules
Type: list of (open submodule of (YAML 1.1 value))
Default:
[ ]
Declared by:
programs.boxxy.rules.*.context
Apply redirection ONLY when in a certain directory.
Type: list of string
Default:
[ ]
Example:
[
"/home/example/Projects/my-project"
]
Declared by:
programs.boxxy.rules.*.env
Give certain environment variables for said match.
Type: attribute set of string
Default:
{ }
Example:
{
MY_ENV_VAR = "my_env_var_value";
}
Declared by:
programs.boxxy.rules.*.mode
Does the current path redirect a file or a directory?
Type: one of “file”, “directory”
Default:
"directory"
Declared by:
programs.boxxy.rules.*.name
Unique identifier of the boxxy rule. This can be any single-line string.
Type: string
Declared by:
programs.boxxy.rules.*.only
Apply redirection ONLY to specified executable names.
Type: list of string
Default:
[ ]
Example:
[
"bash"
"/usr/bin/sh"
]
Declared by:
programs.boxxy.rules.*.rewrite
Where that file/directory should be rewritten to.
Type: string
Default:
""
Example:
"${config.xdg.configHome}/ssh"
Declared by:
programs.boxxy.rules.*.target
What directory/file to redirect.
Type: string
Default:
""
Example:
"~/.ssh"
Declared by: