summaryrefslogtreecommitdiff
path: root/services/firefly_iii.nix
diff options
context:
space:
mode:
authorJakub Stachurski <jakub@wilkuu.nl>2026-07-21 20:28:13 +0200
committerJakub Stachurski <jakub@wilkuu.nl>2026-07-21 20:28:13 +0200
commit8da770badb7fe21df138e770c8d1a8b6c4604882 (patch)
tree947cc879a2b00c02e682f63cd6b8e0a36da6a742 /services/firefly_iii.nix
parent381984fc596c3cf268d4bcf061164158fbcfb95a (diff)
nixfmt
Diffstat (limited to 'services/firefly_iii.nix')
-rw-r--r--services/firefly_iii.nix32
1 files changed, 16 insertions, 16 deletions
diff --git a/services/firefly_iii.nix b/services/firefly_iii.nix
index 1f9bd64..e0f17c5 100644
--- a/services/firefly_iii.nix
+++ b/services/firefly_iii.nix
@@ -28,16 +28,16 @@ in
};
config = mkIf cfg.enable {
services.nginx.virtualHosts = {
- ${cfg.domain} = {
- enableACME = lib.mkForce false;
- addSSL = lib.mkForce false;
- forceSSL = lib.mkForce false;
- };
- ${cfg.importer-domain} = {
- enableACME = lib.mkForce false;
- addSSL = lib.mkForce false;
- forceSSL = lib.mkForce false;
- };
+ ${cfg.domain} = {
+ enableACME = lib.mkForce false;
+ addSSL = lib.mkForce false;
+ forceSSL = lib.mkForce false;
+ };
+ ${cfg.importer-domain} = {
+ enableACME = lib.mkForce false;
+ addSSL = lib.mkForce false;
+ forceSSL = lib.mkForce false;
+ };
};
users.users."firefly_iii" = {
isSystemUser = true;
@@ -63,8 +63,8 @@ in
allowedUsers = [ "firefly_iii" ];
};
users.firefly_iii = {
- sopsPlaceholder = config.sops.placeholder."firefly_iii/db_password";
- host = "localhost";
+ sopsPlaceholder = config.sops.placeholder."firefly_iii/db_password";
+ host = "localhost";
};
};
services.firefly-iii = {
@@ -80,10 +80,10 @@ in
# DB
DB_CONNECTION = "mysql";
DB_DATABASE = "firefly_iii";
- DB_HOST = "localhost";
- DB_PORT = config.services.mysql.settings.mysqld.port;
- DB_USERNAME = "firefly_iii";
- DB_PASSWORD = config.sops.secrets."firefly_iii/db_password".path;
+ DB_HOST = "localhost";
+ DB_PORT = config.services.mysql.settings.mysqld.port;
+ DB_USERNAME = "firefly_iii";
+ DB_PASSWORD = config.sops.secrets."firefly_iii/db_password".path;
# Proxying
TRUSTED_PROXIES = "192.168.80.100";