53 current 2025-10-07 21:21:52 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -13,7 +13,7 @@ in
|
||||
# set port options
|
||||
port = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = cfg.default_port;
|
||||
default = default_port;
|
||||
description = "set port for prowlarr (default: ${toString default_port}";
|
||||
};
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ in
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 8989;
|
||||
default = default_port;
|
||||
description = "set port for sonarr (${toString default_port})";
|
||||
};
|
||||
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
let
|
||||
cfg = config.modules.services.vaultwarden;
|
||||
ids = 2771;
|
||||
default_port = 7701;
|
||||
default_port = 8000;
|
||||
data_dir = "/var/lib/vaultwarden";
|
||||
domain = https://pass.blakedheld.xyz
|
||||
in
|
||||
{
|
||||
options.modules.services.vaultwarden = {
|
||||
@@ -43,6 +44,22 @@ in
|
||||
# enable the vaultwarden service
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
config = {
|
||||
DOMAIN=${domain};
|
||||
ROCKET_ADDRESS = "0.0.0.0";
|
||||
ROCKET_PORT = ${port};
|
||||
SIGNUPS_ALLOWED=true;
|
||||
# EXPERIMENTAL_CLIENT_FEATURE_FLAGS=fido2-vault-credentials
|
||||
# The following flags are available:
|
||||
# - "autofill-overlay": Add an overlay menu to form fields for quick access to credentials.
|
||||
# - "autofill-v2": Use the new autofill implementation.
|
||||
# - "browser-fileless-import": Directly import credentials from other providers without a file.
|
||||
# - "extension-refresh": Temporarily enable the new extension design until general availability (should be used with the beta Chrome extension)
|
||||
# - "fido2-vault-credentials": Enable the use of FIDO2 security keys as second factor.
|
||||
# - "inline-menu-positioning-improvements": Enable the use of inline menu password generator and identity suggestions in the browser extension.
|
||||
# - "ssh-key-vault-item": Enable the creation and use of SSH key vault items. (Needs clients >=2024.12.0)
|
||||
# - "ssh-agent": Enable SSH agent support on Desktop. (Needs desktop >=2024.12.0)
|
||||
};
|
||||
};
|
||||
|
||||
# override umask to make permissions work out
|
||||
|
||||
Reference in New Issue
Block a user