nix-config/config/services/homebox.nix

22 lines
444 B
Nix
Raw Normal View History

2024-06-05 23:00:40 +02:00
{
2024-06-09 20:55:50 +02:00
imports = [../../modules/homebox.nix];
2024-06-05 23:00:40 +02:00
wireguard.elisabeth = {
client.via = "elisabeth";
2024-06-09 20:55:50 +02:00
firewallRuleForNode.elisabeth.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";
}
];
}