diff options
author | Martin Fischer <martin@push-f.com> | 2025-06-02 18:54:24 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-06-08 11:35:28 +0200 |
commit | c2056c50a8010f2e58d9e75e018e92b893f0d6e6 (patch) | |
tree | 426c522455d4522ad8c3a0b344267779be453447 /nixos/hosts | |
parent | 04f8ec6294a145020b7c05d704913247f131aceb (diff) |
I'm not sure why the Kodi user now needs to be in the `audio` group
but without it the user can only see a dummy device.
Diffstat (limited to 'nixos/hosts')
-rw-r--r-- | nixos/hosts/ev/kodi.nix | 5 | ||||
-rw-r--r-- | nixos/hosts/hamac/default.nix | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/nixos/hosts/ev/kodi.nix b/nixos/hosts/ev/kodi.nix index 2aea216..3862dfe 100644 --- a/nixos/hosts/ev/kodi.nix +++ b/nixos/hosts/ev/kodi.nix @@ -7,7 +7,10 @@ let in { config = { - users.extraUsers.kodi.isNormalUser = true; + users.users.kodi = { + isNormalUser = true; + extraGroups = ["audio"]; + }; services = { cage = { diff --git a/nixos/hosts/hamac/default.nix b/nixos/hosts/hamac/default.nix index d32ea58..9c4bde6 100644 --- a/nixos/hosts/hamac/default.nix +++ b/nixos/hosts/hamac/default.nix @@ -1,13 +1,8 @@ # See the configuration.nix(5) man page and the NixOS manual (accessible by running `nixos-help`). -let - sources = import <top/npins>; - pkgs-unstable = import sources.nixpkgs-unstable {}; -in { config, lib, pkgs, ... }: { - _module.args = { inherit pkgs-unstable; }; imports = [ ./hardware-configuration.nix <top/profiles/workstation> |