From 0bcabe1c4b1dd74af233674dfa6c6ec3011ce2c0 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 18 Jan 2022 09:43:24 +0100 Subject: restructuring directories --- flora/services/picarones.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 flora/services/picarones.nix (limited to 'flora/services/picarones.nix') diff --git a/flora/services/picarones.nix b/flora/services/picarones.nix new file mode 100644 index 0000000..c2e3c7b --- /dev/null +++ b/flora/services/picarones.nix @@ -0,0 +1,26 @@ +{config, pkgs, ...}: +let + source = builtins.fetchGit { + url = "https://stuebinm.eu/git/picarones/"; + rev = "0596b9f6c561daa67945adb81570efd30650dffd"; + }; +in +{ + + imports = [ source.outPath ]; + + services.picarones = { + enable = true; + frontend = { + enable = true; + domain = "picarones.stuebinm.eu"; + proxyBackend = true; + config = { + enableACME = true; + forceSSL = true; + }; + }; + }; + + networking.firewall.allowedTCPPorts = [ 80 443 ]; +} -- cgit v1.2.3