Hydron
services.hydron.dataDir
Location where hydron runs and stores data.
Type: path
Default
"/var/lib/hydron"
Example
"/home/okina/hydron"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.enable
Whether to enable hydron.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.fetchTags
Fetch tags for imported images and webm from gelbooru.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.importPaths
Paths that hydron will recursively import.
Type: list of path
Default
[ ]
Example
["/home/okina/Pictures"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.interval
How often we run hydron import and possibly fetch tags. Runs by default every week.
The format is described in
{manpage}systemd.time(7)
.
Type: string
Default
"weekly"
Example
"06:00"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.listenAddress
Listen on a specific IP address and port.
Type: null or string
Default
null
Example
"127.0.0.1:8010"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.password
Password for the hydron database.
Type: string
Default
"hydron"
Example
"dumbpass"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.passwordFile
Password file for the hydron database.
Type: path
Default
"/run/keys/hydron-password-file"
Example
"/home/okina/hydron/keys/pass"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.postgresArgs
Postgresql connection arguments.
Type: string
Example
'' { "driver": "postgres", "connection": "user=hydron password=dumbpass dbname=hydron sslmode=disable" }''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix
services.hydron.postgresArgsFile
Postgresql connection arguments file.
Type: path
Default
"/run/keys/hydron-postgres-args"
Example
"/home/okina/hydron/keys/postgres"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/hydron.nix