Remove audio.wav and audio directory creation

This commit is contained in:
NeilClack
2026-06-24 15:06:45 -05:00
parent cc2887d2a0
commit d903deabea
+6 -9
View File
@@ -41,11 +41,6 @@
pkg-config pkg-config
]; ];
audioFile = pkgs.fetchurl {
url = "https://files.rhemawavetech.com/audio.wav";
sha256 = "sha256-5Dikxx9RKOoPfY1ukIgMoVQ7tzpMirp+XPj6OphfEW0=";
};
in in
{ {
packages.default = pkgs.buildGoModule { packages.default = pkgs.buildGoModule {
@@ -72,13 +67,15 @@
postInstall = '' postInstall = ''
# Create the destination # Create the destination
mkdir -p $out/share/rhemawave 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 # Copy everything from your local share/rhemawave/* into the store
cp -r share/rhemawave/* $out/share/rhemawave/ 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; { meta = with pkgs.lib; {