Skip to content

Instantly share code, notes, and snippets.

@asheshambasta
Created May 16, 2022 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asheshambasta/d49f0f84002372d535873a8a8325d531 to your computer and use it in GitHub Desktop.
Save asheshambasta/d49f0f84002372d535873a8a8325d531 to your computer and use it in GitHub Desktop.
{ config, pkgs, lib, ... }:
with (import ./system-specific.nix); { # enable kodi
services.xserver = {
enable = true;
desktopManager.kodi = {
enable = true; # package = pkgs.kodi;
};
displayManager = {
autoLogin = {
enable = true;
user = "kodi";
};
};
};
users = { users = { kodi = { isNormalUser = true; }; }; };
environment.systemPackages = with pkgs;
[ (kodi.withPackages (kodiPkgs: with kodiPkgs; [ youtube netflix ])) ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment