nix-config/config/services/homebox.nix
2024-07-26 22:12:48 +02:00

22 lines
448 B
Nix

{
imports = [ ../../modules/homebox.nix ];
wireguard.elisabeth = {
client.via = "elisabeth";
firewallRuleForNode.elisabeth.allowedTCPPorts = [ 3000 ];
};
services.homebox = {
enable = true;
settings = {
HBOX_WEB_PORT = "3000";
};
};
environment.persistence."/persist".directories = [
{
directory = "/var/lib/homebox";
user = "homebox";
group = "homebox";
mode = "750";
}
];
}