nixos-servers/hosts/media1/kodi.nix

27 lines
420 B
Nix
Raw Normal View History

2025-01-24 22:31:52 +00:00
{ pkgs, ... }:
let
kodipkg = pkgs.kodi-wayland.withPackages (
p: with p; [
jellyfin
]
);
in
{
users.users.kodi = {
isNormalUser = true;
description = "Kodi Media Center user";
};
services.xserver = {
enable = true;
};
services.cage = {
enable = true;
user = "kodi";
program = "${kodipkg}/bin/kodi";
};
environment.systemPackages = with pkgs; [
firefox
];
}