mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:36:35 +01:00
kodi use cage
This commit is contained in:
parent
596bfa5f36
commit
b51baf21bd
1 changed files with 3 additions and 19 deletions
|
@ -1,25 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
||||
libinput.enable = true;
|
||||
desktopManager.kodi = {
|
||||
enable = true;
|
||||
package = pkgs.kodi-wayland.withPackages (p: with p; [ trakt netflix youtube vfs-sftp ]);
|
||||
};
|
||||
|
||||
displayManager.lightdm.enable = true;
|
||||
displayManager.lightdm.autoLogin.timeout = 3;
|
||||
|
||||
displayManager.autoLogin = {
|
||||
enable = true;
|
||||
user = "kodi";
|
||||
};
|
||||
};
|
||||
};
|
||||
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 ];
|
||||
|
|
Loading…
Reference in a new issue