rp3b: add kodi
This commit is contained in:
parent
4dee4159e7
commit
51a24ccfcf
1
data.nix
1
data.nix
@ -13,6 +13,7 @@ rec {
|
||||
exporters = {
|
||||
node = 9002;
|
||||
};
|
||||
kodi = 8080;
|
||||
};
|
||||
|
||||
people_pubkeys = {
|
||||
|
@ -73,6 +73,11 @@
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
users.extraUsers.kodi.isNormalUser = true;
|
||||
services.cage.user = "kodi";
|
||||
services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
|
||||
services.cage.enable = true;
|
||||
|
||||
networking = {
|
||||
hostId = "4bd17751";
|
||||
hostName = "vno1-rp3b";
|
||||
@ -86,8 +91,8 @@
|
||||
}
|
||||
];
|
||||
firewall = {
|
||||
allowedUDPPorts = [];
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [myData.ports.kodi];
|
||||
allowedTCPPorts = [myData.ports.kodi];
|
||||
logRefusedConnections = false;
|
||||
checkReversePath = "loose"; # for tailscale
|
||||
};
|
||||
@ -104,6 +109,7 @@
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
libraspberrypi
|
||||
(kodi.passthru.withPackages (kodiPkgs: [kodiPkgs.youtube]))
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
|
Loading…
Reference in New Issue
Block a user