add homebox

This commit is contained in:
TheWanderingCrow 2025-01-20 20:05:02 -05:00
parent bb1f458a9c
commit c1fdb6faf8
6 changed files with 62 additions and 50 deletions

View file

@ -9,7 +9,7 @@
initialPassword = "changeme";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
inputs.nix-secrets.keys.default
];
};

View file

@ -10,7 +10,7 @@ lib.mkIf config.user.live.enable {
initialPassword = "live";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
inputs.nix-secrets.keys.default
];
};
}

View file

@ -22,6 +22,8 @@ in
"d ${volumePath}/NPM/data 700 overseer"
"d ${volumePath}/NPM/letsencrypt 700 overseer"
"d ${volumePath}/homebox/data 700 overseer"
];
# Pull in the restic secrets from sops
@ -47,12 +49,13 @@ in
# OCI services
virtualisation.podman.enable = true;
virtualisation.oci-containers.backend = "podman";
networking.firewall.allowedTCPPorts = [
81
443
80
];
# These ports are needed for NGINX Proxy Manager
networking.firewall.allowedTCPPorts = [
81
443
80
];
virtualisation.oci-containers.containers = {
# NGINX Proxy Manager
@ -70,4 +73,14 @@ in
];
};
};
services = {
homebox = {
enable = true;
settings = {
HBOX_STORAGE_DATA = "${volumePath}/homebox/data";
HBOX_STORAGE_SQLITE_URL = "${volumePath}/homebox/data/homebox.db?_fk=1&_time_format=sqlite";
};
};
};
}

View file

@ -9,8 +9,8 @@
initialPassword = "changeme";
extraGroups = ["wheel" "libvirtd"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
inputs.nix-secrets.keys.overseer
inputs.nix-secrets.keys.default
inputs.nix-secrets.keys.overseer
];
};
}