mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: a bunch of services...!
This commit is contained in:
parent
79ebb1a48e
commit
7f6562ea70
13 changed files with 214 additions and 76 deletions
19
nixos/servers/monica/monica.nix
Normal file
19
nixos/servers/monica/monica.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, ... }: {
|
||||
sops.secrets.monica_appkey = {
|
||||
sopsFile = ./secrets.yaml;
|
||||
owner = config.services.monica.user;
|
||||
group = config.services.monica.group;
|
||||
};
|
||||
services.monica = {
|
||||
enable = true;
|
||||
appURL = "https://monica.kittywit.ch";
|
||||
appKeyFile = config.sops.secrets.monica_appkey.path;
|
||||
nginx = {
|
||||
serverAliases = [
|
||||
"monica.kittywit.ch"
|
||||
];
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue