forked from Drift/pvv-nixos-config
19 lines
337 B
Nix
19 lines
337 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
cfg = config.services.snappymail;
|
|
in {
|
|
imports = [ ../../../../modules/snappymail.nix ];
|
|
|
|
services.snappymail = {
|
|
enable = true;
|
|
hostname = "snappymail.pvv.ntnu.no";
|
|
};
|
|
|
|
services.nginx.virtualHosts.${cfg.hostname} = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
kTLS = true;
|
|
};
|
|
}
|
|
|