mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
21 lines
528 B
Nix
21 lines
528 B
Nix
{ config, ... }: {
|
|
sops.secrets.monica_appkey = {
|
|
sopsFile = ./secrets.yaml;
|
|
owner = config.services.monica.user;
|
|
group = config.services.monica.group;
|
|
};
|
|
services.monica = {
|
|
enable = true;
|
|
hostname = "monica.kittywit.ch";
|
|
appURL = "https://monica.kittywit.ch";
|
|
appKeyFile = config.sops.secrets.monica_appkey.path;
|
|
nginx = {
|
|
serverName = "monica.kittywit.ch";
|
|
serverAliases = [
|
|
"monica.kittywit.ch"
|
|
];
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
};
|
|
};
|
|
}
|