blob: 2aea2166cfa8ed66d69d9caef072300b3a92d06c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ config, pkgs, ... }:
let
kodi-package = pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs; [
joystick
]);
in
{
config = {
users.extraUsers.kodi.isNormalUser = true;
services = {
cage = {
enable = true;
user = "kodi";
program = "${kodi-package}/bin/kodi-standalone";
};
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
};
};
}
|