added kodi

This commit is contained in:
k 2025-07-13 10:33:52 -04:00
parent 70cc2587aa
commit fd2e474229
2 changed files with 20 additions and 5 deletions

View File

@ -50,7 +50,15 @@
home-manager = {users = {"k" = import ./home.nix;};}; 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.enable = true;
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;

View File

@ -3,10 +3,12 @@
lib, lib,
... ...
}: { }: {
networking.firewall = { networking = {
firewall = {
enable = true; enable = true;
allowedTCPPorts = [80 443 22]; allowedTCPPorts = [80 443 22 25565 26615 8080];
allowedUDPPorts = []; allowedUDPPorts = [26615 8080 1900];
};
}; };
security.acme = { security.acme = {
@ -35,6 +37,11 @@
enable = true; enable = true;
allowed-origins = ["https://pit.dhilton.xyz"]; allowed-origins = ["https://pit.dhilton.xyz"];
}; };
pulseaudio = {
enable = true;
};
nix-serve = { nix-serve = {
enable = true; enable = true;
secretKeyFile = "/var/cache-priv-key.pem"; secretKeyFile = "/var/cache-priv-key.pem";