filebrowser-quantum
Example
{config, ...}: {
filebrowser-quantum = {
enable = true;
mounts = {
${config.home.homeDirectory} = {
path = config.home.homeDirectory;
name = config.home.username;
};
${config.nps.externalStorageBaseDir} = {
path = "/hdd";
name = "hdd";
};
};
oidc = {
enable = true;
clientSecretHash = "$pbkdf2-sha512$...";
clientSecretFile = config.sops.secrets."filebrowser-quantum/authelia/client_secret".path;
};
settings.auth.methods.password.enabled = false;
};
}Stack Options
nps.stacks.filebrowser-quantum.containers.filebrowser-quantum
Alias of {option}services.podman.containers.filebrowser-quantum.
nps.stacks.filebrowser-quantum.enable
Whether to enable filebrowser-quantum.
nps.stacks.filebrowser-quantum.mounts
Mount configuration for the file browser.
Format: { 'hostPath' = container-source-config }
The mounts will be added to the settings source section and a volume mount will be added for each configured source.
attribute set of (submodule)
{ }
{
"/home/foo/media" = {
config = {
disableIndexing = false;
exclude = {
fileEndsWith = [
".zip"
".txt"
];
};
};
path = "/media";
};
"/mnt/ext/data" = {
name = "ext-data";
path = "/data";
};
}
nps.stacks.filebrowser-quantum.mounts.<name>.config
Additional configuration options for the source.
open submodule of (YAML 1.1 value)
{ }
nps.stacks.filebrowser-quantum.mounts.<name>.name
Optional name of the source, otherwise the source gets named the folder name
null or string
null
"folder"
nps.stacks.filebrowser-quantum.mounts.<name>.path
Path of the source in the container
nps.stacks.filebrowser-quantum.oidc.adminGroup
Users of this group will be assigned admin rights
string
"filebrowser-quantum_admin"
nps.stacks.filebrowser-quantum.oidc.clientSecretFile
The file containing the client secret for the OIDC client that will be registered in Authelia.
nps.stacks.filebrowser-quantum.oidc.clientSecretHash
The hashed client_secret. Will be set in the Authelia client config. For examples on how to generate a client secret, see
https://www.authelia.com/integration/openid-connect/frequently-asked-questions/#client-secret
nps.stacks.filebrowser-quantum.oidc.enable
Whether to enable OIDC login with Authelia. This will register an OIDC client in Authelia and setup the necessary configuration.
For details, see:
nps.stacks.filebrowser-quantum.oidc.userGroup
Users of this group will be able to log in
string
"filebrowser-quantum_user"
nps.stacks.filebrowser-quantum.settings
Settings that will be added to the config.yml.
To configure sources, you should prefer using the mounts option, as the corresponding volume mappings will be
configured automatically.