53 current 2025-10-07 21:21:52 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 52 current 2025-10-07 21:09:55 25.05.20251001.5b5be50 6.12.49 *
|
# generation: 53 current 2025-10-07 21:21:52 25.05.20251001.5b5be50 6.12.49 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
services = {
|
services = {
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
vaultwarden.enable = true;
|
vaultwarden.enable = true;
|
||||||
|
vaultwarden.port = 7701;
|
||||||
sonarr.enable = true;
|
sonarr.enable = true;
|
||||||
sonarr.port = 7105;
|
sonarr.port = 7105;
|
||||||
prowlarr.enable = true;
|
prowlarr.enable = true;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ in
|
|||||||
# set port options
|
# set port options
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
type = lib.types.int;
|
type = lib.types.int;
|
||||||
default = cfg.default_port;
|
default = default_port;
|
||||||
description = "set port for prowlarr (default: ${toString default_port}";
|
description = "set port for prowlarr (default: ${toString default_port}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ in
|
|||||||
|
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
type = lib.types.int;
|
type = lib.types.int;
|
||||||
default = 8989;
|
default = default_port;
|
||||||
description = "set port for sonarr (${toString default_port})";
|
description = "set port for sonarr (${toString default_port})";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
let
|
let
|
||||||
cfg = config.modules.services.vaultwarden;
|
cfg = config.modules.services.vaultwarden;
|
||||||
ids = 2771;
|
ids = 2771;
|
||||||
default_port = 7701;
|
default_port = 8000;
|
||||||
data_dir = "/var/lib/vaultwarden";
|
data_dir = "/var/lib/vaultwarden";
|
||||||
|
domain = https://pass.blakedheld.xyz
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.services.vaultwarden = {
|
options.modules.services.vaultwarden = {
|
||||||
@@ -43,6 +44,22 @@ in
|
|||||||
# enable the vaultwarden service
|
# enable the vaultwarden service
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
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
|
# override umask to make permissions work out
|
||||||
|
|||||||
Reference in New Issue
Block a user