Add initial config for MRVN (Kodi box)
This commit is contained in:
parent
459702a93a
commit
923048cf0b
33
system/MRVN.nix
Normal file
33
system/MRVN.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ pkgs, username, ... }:
|
||||
{
|
||||
# nixpkgs.config.kodi.enableAdvancedLauncher = true;
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.kodi = {
|
||||
enable = true;
|
||||
package = pkgs.kodi.withPackages (
|
||||
kp: with kp; [
|
||||
jellyfin
|
||||
youtube
|
||||
netflix
|
||||
]
|
||||
);
|
||||
};
|
||||
displayManager = {
|
||||
lightdm.greeter.enable = false;
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = username;
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 8080 ];
|
||||
allowedUDPPorts = [ 8080 ];
|
||||
};
|
||||
home-manager.users.${username} = {
|
||||
home.stateVersion = null;
|
||||
};
|
||||
system.stateVersion = null;
|
||||
users.mutableUsers = false;
|
||||
}
|
Loading…
Reference in a new issue