mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 16:16:35 +01:00
16 lines
357 B
Nix
16 lines
357 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.cage.user = "kodi";
|
|
services.cage.program = "${pkgs.kodi-wayland.withPackages (p: with p; [ trakt netflix youtube vfs-sftp ])}/bin/kodi-standalone";
|
|
services.cage.enable = true;
|
|
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ 8080 ];
|
|
allowedUDPPorts = [ 8080 ];
|
|
};
|
|
|
|
users.extraUsers.kodi.isNormalUser = true;
|
|
}
|
|
|
|
|