diff --git a/hosts/fae/invoiceplane.nix b/hosts/fae/invoiceplane.nix index 206c0bb9..37ece074 100644 --- a/hosts/fae/invoiceplane.nix +++ b/hosts/fae/invoiceplane.nix @@ -35,6 +35,9 @@ in IP_URL = "https://billing.faenix.eu"; DISABLE_SETUP = true; SETUP_COMPLETED = true; + # Useful for debugging, logs to + # /var/lib/invoiceplane//logs/ + #ENABLE_DEBUG=true; }; poolConfig = { @@ -67,9 +70,9 @@ in # repository = "rclone:cloud.pub.solar:/backups/InvoicePlane"; # backupPrepareCommand = '' # PW=$(cat ${config.age.secrets."invoiceplane-db-password".path}) - # ${pkgs.docker-client}/bin/docker exec -t invoiceplane-db mariadb-dump --all-databases --password=$PW --user=invoiceplane > "${backupDir}/postgres.sql" + # ${pkgs.mariadb-client}/bin/mariadb-dump --all-databases --password=$PW --user=invoiceplane > "${backupDir}/mariadb-dump.sql" # ''; - # rcloneConfigFile = config.age.secrets."rclone-pie.conf".path; + # rcloneConfigFile = config.age.secrets."rclone-fae.conf".path; # }; #}; } diff --git a/hosts/fae/paperless.nix b/hosts/fae/paperless.nix index 408c43bd..6057c686 100644 --- a/hosts/fae/paperless.nix +++ b/hosts/fae/paperless.nix @@ -68,20 +68,6 @@ in }; }; - #services.caddy = { - # enable = true; - # globalConfig = '' - # local_certs - # ''; - # virtualHosts = { - # "paperless.fritz.box" = { - # extraConfig = '' - # reverse_proxy :${builtins.toString config.services.paperless.port} - # ''; - # }; - # }; - #}; - networking.firewall.allowedTCPPorts = [ 80 443 @@ -93,8 +79,8 @@ in "d '${backupDir}' 0700 ${psCfg.user.name} users - -" ]; - #age.secrets."rclone-pie.conf" = { - # file = "${flake.self}/secrets/rclone-pie.conf.age"; + #age.secrets."rclone-fae.conf" = { + # file = "${flake.self}/secrets/rclone-fae.conf.age"; # path = "/root/.config/rclone/rclone.conf"; # mode = "400"; #}; @@ -112,7 +98,7 @@ in # # See https://www.hosting.de/blog/verschluesselte-backups-mit-rclone-und-restic-in-nextcloud/ # repository = "rclone:cloud.pub.solar:/backups/Paperless"; # backupPrepareCommand = "${dataDir}/paperless-manage document_exporter ${backupDir} -c -p"; - # rcloneConfigFile = config.age.secrets."rclone-pie.conf".path; + # rcloneConfigFile = config.age.secrets."rclone-fae.conf".path; # }; #}; }