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";