hippocampus: dawarich: enable
This commit is contained in:
@@ -56,5 +56,8 @@
|
|||||||
|
|
||||||
# Immich Photo Backups
|
# Immich Photo Backups
|
||||||
./public/immich.nix
|
./public/immich.nix
|
||||||
|
|
||||||
|
# Dawarich location tracking
|
||||||
|
./public/dawarich.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
14
machines/hippocampus/servers/public/dawarich.nix
Normal file
14
machines/hippocampus/servers/public/dawarich.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
services.dawarich = {
|
||||||
|
enable = true;
|
||||||
|
webPort = 7392;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy.virtualHosts = {
|
||||||
|
"location.crompton.cc" = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy localhost:${toString config.services.dawarich.webPort}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user