mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:46:34 +01:00
use kodi
This commit is contained in:
parent
22c4672c90
commit
1fdde5630d
1 changed files with 3 additions and 1 deletions
|
@ -5,13 +5,15 @@ in {
|
|||
options.jopejoe1.kodi = { enable = lib.mkEnableOption "Enable Kodi"; };
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ pkgs.kodi ];
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.kodi = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
package = pkgs.kodi-wayland;
|
||||
};
|
||||
displayManager = {
|
||||
defaultSession = "";
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "jopejoe1";
|
||||
|
|
Loading…
Reference in a new issue