dotfiles/modules/nixos/services/actual/default.nix
2025-10-10 03:55:32 -05:00

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
];
};
};
}