-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkarakeep.nix
More file actions
22 lines (21 loc) · 668 Bytes
/
Copy pathkarakeep.nix
File metadata and controls
22 lines (21 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, ... }:
let
home_domain = "home.technicalissues.us";
in
{
services.karakeep = {
enable = true;
environmentFile = config.sops.secrets.karakeep_env.path;
extraEnvironment = {
PORT = toString config.dots.ports.karakeep.port;
NEXTAUTH_URL = "https://karakeep.${home_domain}";
DISABLE_SIGNUPS = "true";
DISABLE_PASSWORD_AUTH = "true";
DISABLE_NEW_RELEASE_CHECK = "true";
OAUTH_WELLKNOWN_URL = "https://id.${home_domain}/.well-known/openid-configuration";
OAUTH_PROVIDER_NAME = "Pocket ID";
OAUTH_AUTO_REDIRECT = "true";
};
};
services.restic.backups.daily.paths = [ "/var/lib/karakeep" ];
}