nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

kodi.nix (356B)


      1 { pkgs, username, ... }:
      2 
      3 {
      4   # Package
      5   environment.systemPackages = with pkgs; [ kodi-wayland ];
      6 
      7   # Firewall rules
      8   networking.firewall = {
      9       allowedTCPPorts = [ 8080 ];
     10       allowedUDPPorts = [ 8080 ];
     11     };
     12 
     13   # Extra groups for Kodi CEC input
     14   users.users.${username}.extraGroups = [ "networkmanager" "wheel" "input" "dialout" "video" ];
     15 }