This commit is contained in:
Tyler Beckman 2024-12-12 15:33:50 -07:00
parent 32a1ca6843
commit 077998b59c
Signed by: Ty
GPG key ID: 2813440C772555A4
3 changed files with 30 additions and 0 deletions

View file

@ -10,6 +10,7 @@
imports = [
./hardware-configuration.nix
./modules
./services
];
system.stateVersion = "24.11";

View file

@ -0,0 +1,15 @@
{ ... }:
{
imports = [
./jellyfin.nix
];
networking = {
nat = {
enable = true;
internalInterfaces = ["ve-+"];
externalInterface = "wlp2s0";
};
networkmanager.unmanaged = [ "interface-name:ve-*" ];
};
}

View file

@ -0,0 +1,14 @@
{ config, ... }:
{
containers.jellyfin = {
config = { pkgs, ...}: {
services.jellyfin = {
enable = true;
package = pkgs.jellyfin;
};
};
autoStart = true;
hostAddress = "172.30.0.2"; # TODO define in config option
localAddress = "172.30.0.2";
};
}