From 3b33358739b3719e25f1e7afd154a4061d9515ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 17 Aug 2023 15:07:26 +0300 Subject: [PATCH] kodi on Xorg works: enable wayland now --- hosts/vno1-rp3b/configuration.nix | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index 3c4710c..a62362d 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -81,18 +81,11 @@ pulse.enable = true; }; - services.xserver.enable = true; - services.xserver.desktopManager.kodi.enable = true; - services.xserver.displayManager.autoLogin.enable = true; - services.xserver.displayManager.autoLogin.user = "kodi"; - - # This may be needed to force Lightdm into 'autologin' mode. - # Setting an integer for the amount of time lightdm will wait - # between attempts to try to autologin again. - services.xserver.displayManager.lightdm.autoLogin.timeout = 3; - - # Define a user account 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";