diff --git a/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template b/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template index de50d41..3553be3 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template +++ b/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template @@ -5,10 +5,16 @@ host = u323231.your-storagebox.de url = https://u323231.your-storagebox.de user = u323231 pass = STORAGEBOX_PASSWORD - + +[StorageBox-Hasher] +type = hasher +remote = StorageBox-Remote: +hashes = sha1,md5 +max_age = off + [StorageBox] type = alias -remote = StorageBox-Remote: +remote = StorageBox-Hasher: [B2-Chaos-Backups-Source] type = b2 diff --git a/overlay/piped/update.sh b/overlay/piped/update.sh index 51436cc..9a5babf 100755 --- a/overlay/piped/update.sh +++ b/overlay/piped/update.sh @@ -19,17 +19,17 @@ new_frontend_rev=$(curl -L "https://api.github.com/repos/TeamPiped/Piped/commits if [ "$new_frontend_rev" != "$old_frontend_rev" ]; then echo "Frontend is out of date. Updating..." json_set '.frontend.rev' "$new_frontend_rev" - new_frontend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped --rev "$new_frontend_rev") - json_set '.frontend.sha256' "$new_frontend_sha256" + #new_frontend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped --rev "$new_frontend_rev") + #json_set '.frontend.sha256' "$new_frontend_sha256" - TMP=$(mktemp -d) - pushd "$TMP" - git clone https://github.com/TeamPiped/Piped - pushd Piped - git reset --hard "$new_frontend_rev" - yarn2nix > "${BASE_DIR}/frontend/yarn.nix" - popd - popd + #TMP=$(mktemp -d) + #pushd "$TMP" + # git clone https://github.com/TeamPiped/Piped + # pushd Piped + # git reset --hard "$new_frontend_rev" + # yarn2nix > "${BASE_DIR}/frontend/yarn.nix" + # popd + #popd fi # Backend @@ -38,8 +38,8 @@ new_backend_rev=$(curl -L "https://api.github.com/repos/TeamPiped/Piped-Backend/ if [ "$new_backend_rev" != "$old_backend_rev" ]; then echo "Backend is out of date. Updating..." json_set '.backend.rev' "$new_backend_rev" - new_backend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped-Backend --rev "$new_backend_rev") - json_set '.backend.sha256' "$new_backend_sha256" + #new_backend_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo Piped-Backend --rev "$new_backend_rev") + #json_set '.backend.sha256' "$new_backend_sha256" fi # Proxy @@ -48,8 +48,8 @@ new_proxy_rev=$(curl -L "https://api.github.com/repos/TeamPiped/piped-proxy/comm if [ "$new_proxy_rev" != "$old_proxy_rev" ]; then echo "Proxy is out of date. Updating..." json_set '.proxy.rev' "$new_proxy_rev" - new_proxy_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo piped-proxy --rev "$new_proxy_rev") - json_set '.proxy.sha256' "$new_proxy_sha256" + #new_proxy_sha256=$(nix-prefetch fetchFromGitHub --owner TeamPiped --repo piped-proxy --rev "$new_proxy_rev") + #json_set '.proxy.sha256' "$new_proxy_sha256" fi diff --git a/profiles/base/nix.nix b/profiles/base/nix.nix index 77f88a6..cafc907 100644 --- a/profiles/base/nix.nix +++ b/profiles/base/nix.nix @@ -14,7 +14,14 @@ settings.trusted-users = ["root" "@wheel"]; }; nixpkgs = { - config = {allowUnfree = true;}; + config = { + allowUnfree = true; + + permittedInsecurePackages = [ + # for kotatogram-desktop + "openssl-1.1.1t" + ]; + }; overlays = [ (import ../../overlay) inputs.musicutil.overlay