tips
9 tips Config
One command, setting or habit at a time about Config: what it does, the line to copy and a caveat or two.
Developer tools 3
-
Put indent and line ending rules in the project, so editors follow them.
root = true -
See the active npm settings grouped by the file they come from.
npm config list -
Store the options you type every time in one file that rg reads.
--smart-case
Apps and containers 2
-
Merges all YAML list files in a folder into one automation list.
automation: !include_dir_merge_list automation/ -
Moves passwords and keys from configuration.yaml into a separate secrets.yaml file.
password: !secret rest_password
Files and media 2
-
Sets the Jellyfin cache directory with a command line option or an environment variable.
jellyfin --cachedir /srv/jellyfin-cache -
Sets a main Jellyfin configuration option through an environment variable with double underscores.
JELLYFIN_HttpListenerHost__DefaultRedirectPath=/web/
Config constants 1
-
Forces the WordPress site address from wp-config.php without changing what the database stores.
define( 'WP_HOME', 'https://example.com' );
Settings and access 1
-
The include line pulls another file into config.txt, but a few boot settings must stay in the main file.
include extraconfig.txt
Nothing in this filter yet.