diff options
author | lassulus <lassulus@lassul.us> | 2021-10-24 16:58:08 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-24 16:58:08 +0200 |
commit | 566951d3f0aa9fcc64df3ef5d7bf1fcf0eff04ab (patch) | |
tree | c2068225a1610b165a319f82726bc9c5606d73d7 /lass/2configs | |
parent | 4c15270e18861dd84036d776dd3143a74f7ea9b2 (diff) |
l prism.r: fix mdmonitor service error
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/bepasty.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/lass/2configs/bepasty.nix b/lass/2configs/bepasty.nix deleted file mode 100644 index 9bd416c05..000000000 --- a/lass/2configs/bepasty.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ config, pkgs, ... }: -with import <stockholm/lib>; - -# secrets used: -# wildcard.krebsco.de.crt -# wildcard.krebsco.de.key -# bepasty-secret.nix <- contains single string - -with import <stockholm/lib>; -let - secKey = import <secrets/bepasty-secret.nix>; - ext-doms = [ - "paste.lassul.us" - "paste.krebsco.de" - ]; -in { - - services.nginx.enable = mkDefault true; - krebs.bepasty = { - enable = true; - serveNginx= true; - - servers = { - "paste.r" = { - nginx = { - serverAliases = [ - "paste.${config.krebs.build.host.name}" - "paste.r" - ]; - }; - defaultPermissions = "admin,list,create,read,delete"; - secretKey = secKey; - }; - } // - genAttrs ext-doms (ext-dom: { - nginx = { - forceSSL = true; - enableACME = true; - }; - defaultPermissions = "read,create"; - secretKey = secKey; - }); - }; -} |