mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Add seedbox
This commit is contained in:
parent
4744f39ad7
commit
08344a4843
4 changed files with 218 additions and 10 deletions
|
|
@ -1,5 +1,11 @@
|
|||
{ config, lib, pkgs, inputs, system, ... }:
|
||||
let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
cfg = config.mods;
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon"
|
||||
|
|
@ -8,7 +14,7 @@ let
|
|||
];
|
||||
in {
|
||||
# Hardware
|
||||
imports = [ ./hardware-configuration.nix ../ports.nix ];
|
||||
imports = [./hardware-configuration.nix ../ports.nix];
|
||||
|
||||
# System
|
||||
mods.user.name = "muon";
|
||||
|
|
@ -45,6 +51,7 @@ in {
|
|||
mods.server.lemmy.enable = true;
|
||||
mods.server.audio.enable = true;
|
||||
mods.server.atuin.enable = true;
|
||||
mods.server.seedbox.enable = true;
|
||||
|
||||
mods.server.dash.enable = false;
|
||||
mods.server.nginx.ports.dash = 3009;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.mods.server = with lib; {
|
||||
local.ports = mkOption {
|
||||
type = types.attrsOf (types.ints.u16);
|
||||
default = { };
|
||||
default = {};
|
||||
};
|
||||
};
|
||||
config = {
|
||||
|
|
@ -19,6 +24,7 @@
|
|||
ntfy = 3010;
|
||||
audio = 3011;
|
||||
atuin = 3012;
|
||||
stream = 3013;
|
||||
|
||||
search = 8081;
|
||||
videos = 8082;
|
||||
|
|
@ -33,6 +39,7 @@
|
|||
prowlarr = 5006;
|
||||
flaresolverr = 5007;
|
||||
torrent = 5008;
|
||||
seedbox = 5009;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue