feat: add aiostreams

This commit is contained in:
tux
2025-11-14 12:36:34 +05:30
parent f033f3406a
commit abd2134a2a
4 changed files with 91 additions and 11 deletions

View File

@@ -35,6 +35,18 @@
];
tux.services.openssh.enable = true;
tux.containers.aiostreams = {
enable = true;
port = 4567;
environment = {
ADDON_ID = "aiostreams.tux.rs";
BASE_URL = "https://aiostreams.tux.rs";
};
environmentFiles = [
config.sops.secrets."aiostreams".path
];
};
sops.secrets = {
borg_encryption_key = {
@@ -81,6 +93,10 @@
"cs2_secrets/CS2_PW" = {
sopsFile = ./secrets.yaml;
};
aiostreams = {
sopsFile = ./secrets.yaml;
};
};
nixpkgs = {
@@ -144,7 +160,13 @@
firewall = {
enable = true;
allowedTCPPorts = [80 443 22 3333 8081];
allowedTCPPorts = [
80
443
22
3333
8081
];
};
};
@@ -207,7 +229,9 @@
];
};
users.users.${username} = {linger = true;};
users.users.${username} = {
linger = true;
};
home-manager.users.${username} = {
imports = [
./home.nix