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

View File

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