From a6f92bb518d09bcaecab33170b23b5c293d598af Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 4 Dec 2024 11:41:48 -0500 Subject: [PATCH] cleanup reflac --- configuration.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index 2d64631..c23ba50 100644 --- a/configuration.nix +++ b/configuration.nix @@ -150,15 +150,19 @@ done '') - flac - (pkgs.writeScriptBin "reflac" ( - builtins.readFile ( + (pkgs.writeShellApplication { + name = "reflac"; + runtimeInputs = with pkgs; [ flac ]; + excludeShellChecks = [ "2086" ]; + + text = builtins.readFile ( pkgs.fetchurl { url = "https://raw.githubusercontent.com/chungy/reflac/refs/heads/master/reflac"; sha256 = "61c6cc8be3d276c6714e68b55e5de0e6491f50bbf195233073dbce14a1e278a7"; } - ) - )) + ); + }) + ]; services.zfs = {