From 71492b0d10b5eb7f85a1b6dc28707adea2f7f068 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 2 Jun 2025 18:54:24 +0200 Subject: 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. --- nixos/hosts/ev/kodi.nix | 5 ++++- nixos/hosts/hamac/default.nix | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'nixos/hosts') 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 ; - pkgs-unstable = import sources.nixpkgs-unstable {}; -in { config, lib, pkgs, ... }: { - _module.args = { inherit pkgs-unstable; }; imports = [ ./hardware-configuration.nix -- cgit v1.2.3