diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2025-12-07 21:32:56 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2026-01-29 01:31:27 -0700 |
| commit | cfb4ae7868926040d37f771a9a4872c7ec2e8f07 (patch) | |
| tree | 94694f99977f85896c5798cd55c98ef25338cff6 /machines/picast | |
| parent | b64bf45fe0325b32e9c2fb4e01bdac391587b194 (diff) | |
kodi user needs video permission to access cec device
Diffstat (limited to 'machines/picast')
| -rw-r--r-- | machines/picast/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/machines/picast/default.nix b/machines/picast/default.nix index d325bae..05ad832 100644 --- a/machines/picast/default.nix +++ b/machines/picast/default.nix @@ -45,14 +45,16 @@ # Enable the X11 windowing system. # services.xserver.enable = true; - users.extraUsers.kodi.isNormalUser = true; + users.extraUsers.kodi = { + isNormalUser = true; + extraGroups = [ "video" ]; + }; services.cage = { enable = true; user = "kodi"; program = "${pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs; [ invidious youtube sponsorblock sendtokodi ])}/bin/kodi-standalone"; - }; - + }; # Configure keymap in X11 # services.xserver.xkb.layout = "us"; |
