From d903deabea05782309e848a846958b988492f520 Mon Sep 17 00:00:00 2001 From: NeilClack Date: Wed, 24 Jun 2026 15:06:45 -0500 Subject: [PATCH] Remove audio.wav and audio directory creation --- flake.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index 0e59671..8a0efa5 100644 --- a/flake.nix +++ b/flake.nix @@ -41,11 +41,6 @@ pkg-config ]; - audioFile = pkgs.fetchurl { - url = "https://files.rhemawavetech.com/audio.wav"; - sha256 = "sha256-5Dikxx9RKOoPfY1ukIgMoVQ7tzpMirp+XPj6OphfEW0="; - }; - in { packages.default = pkgs.buildGoModule { @@ -72,13 +67,15 @@ postInstall = '' # Create the destination mkdir -p $out/share/rhemawave + + # Update ownership + chown -R kiosk:kiosk /home/kiosk/.local/share/rhemawave + + # Update permissions + chmod -R 770 /home/kiosk/.local/share/rhemawave # Copy everything from your local share/rhemawave/* into the store cp -r share/rhemawave/* $out/share/rhemawave/ - - # Add the fetched audio file specifically - mkdir -p $out/share/rhemawave/audio - cp ${audioFile} $out/share/rhemawave/audio/audio.wav ''; meta = with pkgs.lib; {