From 18f4e75b7b1082d70a14fb49d2ba7cb57231a763 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 4 Dec 2024 20:26:40 +0100 Subject: [PATCH] let's try kodi instead and see if that's better --- nixos/hosts/wheatley/configuration.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index 0a718a3..d5c257d 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -52,11 +52,24 @@ }; # Add stremio kiosk on wayland :) - users.extraUsers.stremio.isNormalUser = true; - services.cage.user = "stremio"; - services.cage.program = "${pkgs.stremio}/bin/stremio"; + users.extraUsers.kodi.isNormalUser = true; + services.cage.user = "kodi"; + services.cage.program = "${pkgs.kodi}/bin/kodi-standalone"; services.cage.enable = true; + environment.systemPackages = [ + (pkgs.kodi.withPackages (kodiPkgs: + with kodiPkgs; [ + steam-controller + indvidious + netflix + upnext + sponsorblock + sendtokodi + jellyfin + ])) + ]; + sops.secrets."protonvpn-priv-key".mode = "0440"; sops.secrets."protonvpn-priv-key".owner = config.users.users.root.name;