mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
24 lines
407 B
Nix
Executable file
24 lines
407 B
Nix
Executable file
{ flake, ... }:
|
|
let
|
|
inherit (flake.config.services.instances) actual web;
|
|
service = actual;
|
|
localhost = web.localhost.address1;
|
|
in
|
|
{
|
|
services = {
|
|
actual = {
|
|
enable = true;
|
|
settings = {
|
|
port = service.ports.port0;
|
|
hostname = localhost;
|
|
};
|
|
};
|
|
};
|
|
networking = {
|
|
firewall = {
|
|
allowedTCPPorts = [
|
|
service.ports.port0
|
|
];
|
|
};
|
|
};
|
|
}
|