summaryrefslogtreecommitdiff
path: root/nixos/rebuild
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-02 18:54:24 +0200
committerMartin Fischer <martin@push-f.com>2025-06-08 11:35:28 +0200
commitc2056c50a8010f2e58d9e75e018e92b893f0d6e6 (patch)
tree426c522455d4522ad8c3a0b344267779be453447 /nixos/rebuild
parent04f8ec6294a145020b7c05d704913247f131aceb (diff)
deps: update to NixOS 25.05HEADmaster
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/rebuild')
-rwxr-xr-xnixos/rebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/rebuild b/nixos/rebuild
index cfc14cf..1bc6c39 100755
--- a/nixos/rebuild
+++ b/nixos/rebuild
@@ -12,9 +12,7 @@ if [ ! -f $configPath ]; then
fi
nix-eval() {
- # FUTURE: use --raw when upgrading to NixOS 25.05
- nix-instantiate --eval --read-write-mode "$@" \
- | tr -d \" # nix-instantiate has no raw output yet (like the experimental nix eval)
+ nix-instantiate --eval --raw --read-write-mode "$@"
}
channel=$(nix-eval --argstr host "$HOSTNAME" --expr '{host}: