feat: install karakeep
This commit is contained in:
parent
d3868b69c4
commit
bf13c50f4c
2 changed files with 21 additions and 0 deletions
20
modules/nixos/features/karakeep.nix
Normal file
20
modules/nixos/features/karakeep.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
let
|
||||
port = "5014";
|
||||
in
|
||||
{
|
||||
services = {
|
||||
karakeep = {
|
||||
enable = true;
|
||||
extraEnvironment = {
|
||||
PORT = port;
|
||||
DISABLE_NEW_RELEASE_CHECK = "true";
|
||||
};
|
||||
};
|
||||
|
||||
nginx.virtualHosts."karakeep.fi33.buzz" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "fi33.buzz";
|
||||
locations."/".proxyPass = "http://localhost:${port}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue