mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-14 11:04:11 -05:00
add homebox
This commit is contained in:
parent
bb1f458a9c
commit
c1fdb6faf8
6 changed files with 62 additions and 50 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue