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; {