Compare commits

..

No commits in common. "3385a2362bf5d356007bd28b122a389c423d72ff" and "3addce8fc55f3b9f8996612f0d77ec5cff6a55be" have entirely different histories.

2 changed files with 12 additions and 29 deletions

View file

@ -3,9 +3,7 @@
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: { config, pkgs, ... }:
let let extIface = "ens3";
extIface = "ens3";
ledgerVHost = "ledger.failco.de";
in { in {
imports = [ # Include the results of the hardware scan. imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
@ -246,14 +244,12 @@ in {
}; };
# hledger # hledger
"${ledgerVHost}" = { "ledger.failco.de" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
basicAuthFile = config.age.secrets.hledger-web.path; basicAuthFile = config.age.secrets.hledger-web.path;
locations."/" = { locations."/" = {
proxyPass = "http://${config.services.hledger-web.host}:${ proxyPass = "http://127.0.0.1:3003/";
toString config.services.hledger-web.port
}/";
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };
@ -295,19 +291,6 @@ in {
}; };
}; };
services.hledger-web = {
enable = true;
baseUrl = "https://${ledgerVHost}";
port = 3003;
capabilities = {
view = true;
add = true;
manage = true;
};
journalFiles = [ "current.journal" ];
extraOptions = [ "-B" "--value=then" ];
};
services.fail2ban = { services.fail2ban = {
enable = true; enable = true;
maxretry = 5; maxretry = 5;

View file

@ -1,10 +1,10 @@
age-encryption.org/v1 age-encryption.org/v1
-> X25519 FrE3cLVPZshP6+VgS5aRSggS/3XEjLZW2/yCcxQT6z0 -> X25519 ntNFHjGdIlYJTbloT8Ujpn8Yh+oAaX/m0DHrq9ukLHQ
xlPC1bF0NqiDVEk/xU+7GPGpwbTPZk+iSZ4QvvJzCcU CTj9AefZLuZ0sBuFatp8/lEL8bUf2IXOHW00XJEdSVY
-> ssh-ed25519 NCz+gA Ag6jD9h0FTR+jVR2K3wpQgGqyLJzQZyNvU2+AJPz+Xc -> ssh-ed25519 NCz+gA kj420yScWjDD95LtvEb/62uXVzJU/v0ZSuJ+15MRdS8
3QJhYsIl23/ve++5r9X/a2YUPSUgIBHJ8srPmeSnpKw vFZNC94TxoXh1vVjHFPwPIV+nta5rWgdYWTokbBitxE
-> BaPA]-grease A\OcT5| -> 9-grease %8XR5/t }
L4Nk5eiaKq72ELBFQemUGlXJXpmUt5aN++g9ljz+DBG8XL3bQ9RbPMhbEy/gzKf6 22U6Glc0+L2vlRnrx1Sd1g9b4sfpt/1d0ihfEk5ZQOgEcy45+eNmbHTLQHYzpkFo
8WbY PmIBJrRj07B93Pp1MR4sHmOMtK358D9l1LSURdWQtmtcocOoKdQWmPq+IQ
--- hVjNjD1o1TI5B+CZqTdcoHjx3rRJCgrd4f13Vbhazmw --- 1F50mU6ZhA2vbJq1Nkae6KWzxGY1DGdPNhlA6S3r2GM
Řľt,AýĬ[w3¬LŘśbÎ`´4Ţ?¬”6 üЬśŢ®ŐŞş„1qźÍ?.'K¤jú€če¦idĹUëŤ˙÷¤ád¬<64><C2AC>“Ňf÷éeJJ=·«ĂpĹ—‰?oá ú —F<EFBFBD>ŁśMŃ®ćťL~š†:5vÖ3 ß<>d? ő¬l~˝Š:_€Ő„ZůDřÔJÝR„Ő+Ź"