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-16 16:25:48 +0200 |
commit | 99ba0a0ee3cf1a3fb97a1b8f633c66dbaf283386 (patch) | |
tree | 1f57ebb0718dd00f035d94aab14420eb89782f00 /nixos/hosts | |
parent | 04f8ec6294a145020b7c05d704913247f131aceb (diff) |
deps: update to NixOS 25.05
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> |