Added snappymail test config
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
./wireguard.nix
|
||||
./exports.nix
|
||||
|
||||
./services/snappymail.nix
|
||||
#./vms.nix
|
||||
|
||||
./services/nginx
|
||||
@@ -25,6 +26,7 @@
|
||||
./services/vaultwarden.nix
|
||||
./services/calibre.nix
|
||||
# ./services/code-server.nix
|
||||
|
||||
];
|
||||
|
||||
networking = {
|
||||
@@ -84,6 +86,19 @@
|
||||
exa
|
||||
];
|
||||
|
||||
services.snappymail = {
|
||||
enable = true;
|
||||
hostname = "mail.home.feal.no";
|
||||
};
|
||||
services.nginx.virtualHosts."${config.services.snappymail.hostname}" = let
|
||||
certPath = "/etc/ssl-snakeoil/mail_home_feal_no";
|
||||
in {
|
||||
addSSL = true;
|
||||
|
||||
sslCertificate = "${certPath}.crt";
|
||||
sslCertificateKey = "${certPath}.key";
|
||||
};
|
||||
|
||||
/* virtualisation.podman = { */
|
||||
/* enable = true; */
|
||||
/* dockerCompat = true; # Make `docker` shell alias */
|
||||
|
||||
Reference in New Issue
Block a user