mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
23 lines
487 B
Nix
23 lines
487 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let secrets = (import ../../../secrets.nix);
|
|
in {
|
|
security.acme = {
|
|
certs."kittywit.ch" = {
|
|
group = "kittywit-ch";
|
|
};
|
|
};
|
|
|
|
users.groups."kittywit-ch".members = ["murmur" "nginx"];
|
|
|
|
services.murmur = {
|
|
enable = true;
|
|
|
|
hostName = "kittywit.ch";
|
|
|
|
extraConfig = ''
|
|
sslCert=/var/lib/acme/kittywit.ch/fullchain.pem
|
|
sslKey=/var/lib/acme/kittywit.ch/key.pem
|
|
'';
|
|
};
|
|
}
|