mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-04 19:40:07 +01:00
3bdfb4c297
No more ../../../../../../
19 lines
335 B
Nix
19 lines
335 B
Nix
{ config, lib, fp, pkgs, ... }:
|
|
let
|
|
cfg = config.services.snappymail;
|
|
in {
|
|
imports = [ (fp /modules/snappymail.nix) ];
|
|
|
|
services.snappymail = {
|
|
enable = true;
|
|
hostname = "snappymail.pvv.ntnu.no";
|
|
};
|
|
|
|
services.nginx.virtualHosts.${cfg.hostname} = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
kTLS = true;
|
|
};
|
|
}
|
|
|