From fd2e474229219eea1d8136ef9a6a1a6127c839d6 Mon Sep 17 00:00:00 2001 From: k Date: Sun, 13 Jul 2025 10:33:52 -0400 Subject: [PATCH] added kodi --- hosts/server/configuration.nix | 10 +++++++++- hosts/server/service.nix | 15 +++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 3818679..31a657c 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -50,7 +50,15 @@ home-manager = {users = {"k" = import ./home.nix;};}; - environment.systemPackages = with pkgs; [microcodeIntel]; + environment.systemPackages = with pkgs; [ + microcodeIntel + firefox + (pkgs.kodi.withPackages (kodiPkgs: + with kodiPkgs; [ + jellyfin + youtube + ])) + ]; hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; diff --git a/hosts/server/service.nix b/hosts/server/service.nix index 4611df0..04f6f54 100644 --- a/hosts/server/service.nix +++ b/hosts/server/service.nix @@ -3,10 +3,12 @@ lib, ... }: { - networking.firewall = { - enable = true; - allowedTCPPorts = [80 443 22]; - allowedUDPPorts = []; + networking = { + firewall = { + enable = true; + allowedTCPPorts = [80 443 22 25565 26615 8080]; + allowedUDPPorts = [26615 8080 1900]; + }; }; security.acme = { @@ -35,6 +37,11 @@ enable = true; allowed-origins = ["https://pit.dhilton.xyz"]; }; + + pulseaudio = { + enable = true; + }; + nix-serve = { enable = true; secretKeyFile = "/var/cache-priv-key.pem";