mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 09:56: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"; };
|
options.jopejoe1.kodi = { enable = lib.mkEnableOption "Enable Kodi"; };
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = [ pkgs.kodi ];
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
desktopManager.kodi = {
|
desktopManager.kodi = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = pkgs.kodi-wayland;
|
package = pkgs.kodi-wayland;
|
||||||
};
|
};
|
||||||
displayManager = {
|
displayManager = {
|
||||||
|
defaultSession = "";
|
||||||
autoLogin = {
|
autoLogin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "jopejoe1";
|
user = "jopejoe1";
|
||||||
|
|
Loading…
Reference in a new issue