nix-config/config/services/homebox.nix

21 lines
404 B
Nix
Raw Permalink Normal View History

2024-06-05 23:00:40 +02:00
{
2024-12-20 20:40:27 +01:00
wireguard.services = {
client.via = "nucnix";
firewallRuleForNode.nucnix-nginx.allowedTCPPorts = [ 3000 ];
2024-06-05 23:00:40 +02:00
};
2024-06-09 20:55:50 +02:00
services.homebox = {
enable = true;
settings = {
HBOX_WEB_PORT = "3000";
2024-06-05 23:00:40 +02:00
};
};
environment.persistence."/persist".directories = [
{
2024-06-28 20:32:11 +02:00
directory = "/var/lib/homebox";
2024-06-05 23:00:40 +02:00
user = "homebox";
group = "homebox";
mode = "750";
}
];
}