mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 12:26:50 +01:00
29 lines
510 B
Nix
29 lines
510 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
|
|
libinput.enable = true;
|
|
desktopManager.kodi = {
|
|
enable = true;
|
|
package = pkgs.kodi-wayland.withPackages (p: with p; [ trakt netflix youtube vfs-sftp ]);
|
|
};
|
|
|
|
displayManager.autoLogin = {
|
|
enable = true;
|
|
user = "kodi";
|
|
};
|
|
};
|
|
};
|
|
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ 8080 ];
|
|
allowedUDPPorts = [ 8080 ];
|
|
};
|
|
|
|
users.extraUsers.kodi.isNormalUser = true;
|
|
}
|
|
|
|
|