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