parent
be26969d9b
commit
a3070ba52d
4 changed files with 42 additions and 0 deletions
20
hosts/nixedo/services/homepage/default.nix
Normal file
20
hosts/nixedo/services/homepage/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
services = {
|
||||
homepage-dashboard = {
|
||||
enable = true;
|
||||
listenPort = 8097;
|
||||
openFirewall = true;
|
||||
|
||||
services = import ./services.nix;
|
||||
widgets = import ./widgets.nix;
|
||||
};
|
||||
|
||||
nginx.virtualHosts."nixedo.oliverdavies.uk" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "oliverdavies.uk";
|
||||
|
||||
locations."/".proxyPass =
|
||||
"http://localhost:${toString config.services.homepage-dashboard.listenPort}";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue