dotfiles/modules/nixos/services/actual/default.nix

25 lines
407 B
Nix
Raw Normal View History

2025-10-09 01:45:40 -05:00
{ flake, ... }:
let
inherit (flake.config.services.instances) actual web;
service = actual;
2025-10-09 02:06:57 -05:00
localhost = web.localhost.address1;
2025-10-09 01:45:40 -05:00
in
{
services = {
actual = {
enable = true;
settings = {
port = service.ports.port0;
hostname = localhost;
};
};
};
networking = {
firewall = {
allowedTCPPorts = [
service.ports.port0
];
};
};
}