nixos-configs/apps/update-sources/src/app.ts

197 lines
5.2 KiB
TypeScript
Raw Normal View History

import { spawnSync } from 'node:child_process';
import { writeFileSync } from 'node:fs';
import { parseArgs } from './lib';
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/a93f0ac' (2024-10-16) → 'github:Aylur/ags/b7f3896' (2024-10-19) • Updated input 'astal': 'github:Aylur/astal/f763c44' (2024-10-18) → 'github:Aylur/astal/bfb7e27' (2024-10-20) • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar/fcada91' (2024-10-15) → 'github:elchininet/custom-sidebar/80942f5' (2024-10-21) • Updated input 'home-manager': 'github:nix-community/home-manager/09a0c0c' (2024-10-18) → 'github:nix-community/home-manager/1e27f21' (2024-10-20) • Updated input 'hyprland': 'github:hyprwm/Hyprland/0e630e9' (2024-10-17) → 'github:hyprwm/Hyprland/62ee5cc' (2024-10-19) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/79f0e31' (2024-10-18) → 'github:fufexan/nix-gaming/177e270' (2024-10-20) • Updated input 'nix-index-db': 'github:Mic92/nix-index-database/5c54c33' (2024-10-13) → 'github:Mic92/nix-index-database/04f8a11' (2024-10-20) • Updated input 'nixd': 'github:nix-community/nixd/c38702b' (2024-10-01) → 'github:nix-community/nixd/d3c7e56' (2024-10-20) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5785b6b' (2024-10-16) → 'github:NixOS/nixpkgs/4c2fcb0' (2024-10-18) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18) → 'github:nix-community/nixpkgs-wayland/7c64c3c' (2024-10-20) • Updated input 'pokemon-colorscripts-src': 'gitlab:phoneybadger/pokemon-colorscripts/0483c85' (2022-10-28) → 'gitlab:phoneybadger/pokemon-colorscripts/5802ff6' (2024-10-19) • Updated input 'sops-nix': 'github:Mic92/sops-nix/06535d0' (2024-10-08) → 'github:Mic92/sops-nix/c504fd7' (2024-10-20) • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython/4bb0658' (2024-10-14) → 'github:thlucas1/SpotifyWebApiPython/8c6aff1' (2024-10-19) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/587d622' (2024-10-18) → 'github:make-all/tuya-local/38744c0' (2024-10-21) Docker Images: • rssbridge/rss-bridge latest: sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889 → sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d
2024-10-20 21:42:54 -04:00
import { updateDocker } from './docker';
import { updateFirefoxAddons } from '././firefox';
import { updateFlakeInputs } from './flake';
import updateNodeModules from './node-modules';
2024-07-20 20:30:43 -04:00
import {
runNixUpdate,
2024-12-29 01:28:33 -05:00
updateCaddyPlugins,
updateCustomPackage,
updateVuetorrent,
} from './misc';
2024-07-20 20:30:43 -04:00
/* Constants */
const FLAKE = process.env.FLAKE;
if (!FLAKE) {
console.error('Env var FLAKE not found');
process.exit(1);
}
const args = parseArgs();
2024-07-20 20:30:43 -04:00
const main = async() => {
if (args['c'] || args['custom-sidebar']) {
console.log(updateCustomPackage(
'scopedPackages.x86_64-linux.lovelace-components.custom-sidebar',
));
}
if (args['cp'] || args['caddy-plugins']) {
console.log(updateCaddyPlugins());
}
if (args['d'] || args['docker']) {
console.log(updateDocker());
}
if (args['f'] || args['firefox']) {
console.log(updateFirefoxAddons());
}
if (args['h'] || args['homepage']) {
console.log(runNixUpdate('homepage'));
}
if (args['i'] || args['inputs']) {
console.log(updateFlakeInputs());
}
if (args['j'] || args['jmusicbot']) {
console.log(runNixUpdate('jmusicbot'));
}
if (args['m'] || args['material-rounded-theme']) {
console.log(runNixUpdate(
'scopedPackages.x86_64-linux.lovelace-components.material-rounded-theme',
));
}
if (args['n'] || args['node_modules']) {
console.log(await updateNodeModules());
}
chore: update sources Flake Inputs: • Updated input 'astal': 'github:Aylur/astal' (2025-02-07) rev: 5e0e00e148af0f173ca0883bc2fbbfb103d81f36 → 'github:Aylur/astal' (2025-02-11) rev: ee91402cabc994bb4fb7c3f5405a218ad0b57fd3 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2025-02-05) rev: 86f32f37a17d63205cd43cdf35ea0aae48561877 → 'github:elchininet/custom-sidebar' (2025-02-09) rev: 5e65f568db9312ca84b0de4f376899af54a14655 • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-09) rev: ddc3871b27fe9fc086453e3c61b96ae4783e4035 → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-11) rev: 38f1ef0f9b56518e2ffafeb1f66eba383ab2e4b7 • Updated input 'home-manager': 'github:nix-community/home-manager' (2025-02-08) rev: 5af1b9a0f193ab6138b89a8e0af8763c21bbf491 → 'github:nix-community/home-manager' (2025-02-11) rev: 83bd3a26ac0526ae04fa74df46738bb44b89dcdd • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2025-02-09) rev: f261fb6fe028a1427cfd672eee6e7d5705cd696f → 'github:hyprwm/Hyprland' (2025-02-12) rev: 68bb3e7f0a1d528a8b2da1f92d2005889587561d • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine' (2025-02-02) rev: 257b2050790ab3b1eb389e0f8bdc400eb9510139 → 'github:hyprwm/aquamarine' (2025-02-09) rev: a3dda0d10ce9aa1d1dfb7a6c139ea8c2872c74bd • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor' (2025-01-29) rev: dcadd3398abe146d60c67e0d9ee6e27b301cae82 → 'github:hyprwm/hyprcursor' (2025-02-04) rev: 7c6d165e1eb9045a996551eb9f121b6d1b30adc3 • Updated input 'hyprland/hyprgraphics': 'github:hyprwm/hyprgraphics' (2025-02-01) rev: 5ac80e3686a4dfa55d2bd15c81a266b89594a295 → 'github:hyprwm/hyprgraphics' (2025-02-08) rev: 175c6b29b6ff82100539e7c4363a35a02c74dd73 • Updated input 'hyprland/hyprland-qtutils': 'github:hyprwm/hyprland-qtutils' (2025-01-27) rev: 96bf0677fa9cd13508294e3d4559dfbbc8beff73 → 'github:hyprwm/hyprland-qtutils' (2025-02-08) rev: 3504a293c8f8db4127cb0f7cfc1a318ffb4316f8 • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang' (2025-01-23) rev: f41271d35cc0f370d300413d756c2677f386af9d → 'github:hyprwm/hyprlang' (2025-02-08) rev: a7334904d591f38757c46fbe2ab68651877d9099 • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils' (2025-01-27) rev: 6a8bc9d2a4451df12f5179dc0b1d2d46518a90ab → 'github:hyprwm/hyprutils' (2025-02-08) rev: e4e018a2ca6f5a9c33511973454199e1c7c85499 • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner' (2024-12-29) rev: de913476b59ee88685fdc018e77b8f6637a2ae0b → 'github:hyprwm/hyprwayland-scanner' (2025-02-08) rev: 04146df74a8d5ec0b579657307be01f1e241125f • Updated input 'jellyfin-flake': 'github:matt1432/nixos-jellyfin' (2025-02-01) rev: dd838e535a264d3f6aa51a234f154224e46f1eed → 'github:matt1432/nixos-jellyfin' (2025-02-09) rev: 42092d54585cef272cac955cb0a07e3f76d46de4 • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-06) rev: 4642ec1073a7417e6303484d8f2e7d29dc24a50f → 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-12) rev: 3dab95e02b5eeb9aec44a161bbed2b16b3d03aac • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2025-02-09) rev: 8fc10023a4057e81361fb46f38d8c593de99f3e2 → 'github:fufexan/nix-gaming' (2025-02-11) rev: 1d23e26a88c30f401ecd8a654d71ac6441d0d324 • Updated input 'nixcord': 'github:kaylorben/nixcord' (2025-02-08) rev: 677db34f35bdffcdca07246099ea3b22fc6688dc → 'github:kaylorben/nixcord' (2025-02-11) rev: 6696ee49650793e8a1d2def341c4fd75cc856f91 • Updated input 'nixd': 'github:nix-community/nixd' (2025-02-01) rev: 06d1c850614d0ea60b4f7e3fd89cca0628c21feb → 'github:nix-community/nixd' (2025-02-11) rev: 065dcb4cb2f8269d6d15d2b2491a79cff47f9550 • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2025-02-08) rev: a79cfe0ebd24952b580b1cf08cd906354996d547 → 'github:NixOS/nixpkgs' (2025-02-10) rev: 64e75cd44acf21c7933d61d7721e812eac1b5a0a • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2025-02-09) rev: e1f306052d4bc4ed7c773e3c9e7fc1c6574a100b → 'github:nix-community/nixpkgs-wayland' (2025-02-12) rev: aa13cfafacad104ce67c961be48461d3fc52f57b • Updated input 'sops-nix': 'github:Mic92/sops-nix' (2025-01-31) rev: 4c1251904d8a08c86ac6bc0d72cc09975e89aef7 → 'github:Mic92/sops-nix' (2025-02-11) rev: 07af005bb7d60c7f118d9d9f5530485da5d1e975 • Updated input 'ts-for-gir-src': 'github:gjsify/ts-for-gir' (2025-01-22) rev: 273918e99db404c17f3c9e848c3de96356be0ad7 → 'github:gjsify/ts-for-gir' (2025-02-12) rev: d1e462ffdb6150749d2e4e7edf97b93f82c525d2 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2025-02-09) rev: 358f27849f03c4ee7190be3ddb64eb0d3cf149f9 → 'github:make-all/tuya-local' (2025-02-11) rev: 064889632d3b95afd2a37b6f353cd341f34bb2bd Docker Images: • ghcr.io/linuxserver/bazarr latest: sha256:8415caab20c3642adb281ea066e82a58b8011b6e12bec5339db66599b700f805 → sha256:88272d031e268a5d10035e2707fc095417dba9794a7a4a59b51f01e6f9b74f65 • ghcr.io/linuxserver/prowlarr latest: sha256:b242bc98897d8fa65db7b72f5dbde04b161a092d3cce2321b8c7e62c9321820d → sha256:8883bf1c8afdd45dfb8146041d944656efac01208ef44b7bbdd2aa8b0fbc1782 • ghcr.io/linuxserver/sonarr latest: sha256:20b81f5054d31f0151be3c5e282a85361cc24b7ffaab67a997bb4379caa8485b → sha256:28d9dcbc846aed74bd47dc90305e016183443ddc3dfa3e8bcac268fc653a6e5e Node modules: @types/node: 22.13.0 -> 22.13.1 esbuild: 0.24.2 -> 0.25.0 eslint: 9.20.0 -> 9.20.1 typescript-eslint: 8.23.0 -> 8.24.0 nix-update executions: material-rounded-theme: 3.0.6 -> 3.0.7
2025-02-12 10:05:43 -05:00
// TODO: get latest tag instead of release
// if (args['p'] || args['pam-fprint-grosshack']) {
// console.log(runNixUpdate('pam-fprint-grosshack'));
// }
if (args['ph'] || args['protonhax']) {
console.log(runNixUpdate('protonhax'));
}
if (args['s'] || args['some-sass-language-server']) {
console.log(updateCustomPackage('some-sass-language-server'));
}
if (args['t'] || args['trash-d']) {
console.log(runNixUpdate('trash-d'));
}
if (args['v'] || args['vuetorrent']) {
console.log(updateVuetorrent());
2024-12-29 01:28:33 -05:00
}
if (args['a'] || args['all']) {
// Update this first because of nix run cmd
const firefoxOutput = updateFirefoxAddons();
chore: update flake.lock Flake Inputs: • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/798e83f' (2024-07-27) → 'github:matt1432/discord-nightly-overlay/4df152b' (2024-07-29) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=5e2a233' (2024-07-26) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=ddf3fa5' (2024-07-28) • Updated input 'gtk-theme-src': 'github:dracula/gtk/c9896cb' (2024-07-21) → 'github:dracula/gtk/100310f' (2024-07-29) • Updated input 'headscale': 'github:juanfont/headscale/4ad3f3c' (2024-07-22) → 'github:juanfont/headscale/06f0705' (2024-07-28) • Updated input 'home-manager': 'github:nix-community/home-manager/975b83c' (2024-07-27) → 'github:nix-community/home-manager/89670e2' (2024-07-29) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=729b47d46d0c749efbffe01ea863a124fad562b4&submodules=1' (2024-07-27) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=e67322034037fef22079c8e480be38c1d04b5a4a&submodules=1' (2024-07-29) • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/f95d1509370b7f40ef356ff69a332bd0356ab044?narHash=sha256-GFDSPWxOqEkNrbuSfyoQHGIaRhJNapn2Rv0EEmBGR9A%3D' (2024-07-26) → 'github:hyprwm/aquamarine/4918e57979bbdbd05aabb20f63e1cb5dc289bcbd?narHash=sha256-75Hcx5Zu0f%2BBeCkZxN1frkYacjbkwgCq%2Bz3doVgr4Hw%3D' (2024-07-27) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/962582a090bc233c4de9d9897f46794280288989?narHash=sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk%3D' (2024-07-18) → 'github:hyprwm/hyprutils/5dcbbc1e3de40b2cecfd2007434d86e924468f1f?narHash=sha256-D3wIZlBNh7LuZ0NaoCpY/Pvu%2BxHxIVtSN%2BKkWZYvvVs%3D' (2024-07-27) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/5555f467f68ce7cdf1060991c24263073b95e9da?narHash=sha256-O17b38bQnmfxv7It3OnVYx7fp1seEdI7xxnw5vJFv30%3D' (2024-07-23) → 'github:hyprwm/xdg-desktop-portal-hyprland/0e2f3b9c85f7bab3983098a01366876d34daf383?narHash=sha256-Lj/g1UzrsTZUixtveQix6eB3pon2j23qv5/5pzTx0LQ%3D' (2024-07-28) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/1b61f0093afff20ab44d88ad707aed8bf2215290?narHash=sha256-HUklK5u86w2Yh9dOkk4FdsL8eehcOZ95jPhLixGDRQY%3D' (2024-06-18) → 'github:hyprwm/hyprland-protocols/5a11232266bf1a1f5952d5b179c3f4b2facaaa84?narHash=sha256-zCu4R0CSHEactW9JqYki26gy8h9f6rHmSwj4XJmlHgg%3D' (2024-07-18) • Updated input 'hyprgrass': 'github:horriblename/hyprgrass/736119f' (2024-06-14) → 'github:horriblename/hyprgrass/5c93341' (2024-07-28) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/dc966ed' (2024-07-27) → 'github:fufexan/nix-gaming/7a07614' (2024-07-29) • Updated input 'nix-gaming/umu': 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=abbdeed&submodules=1' (2024-07-20) → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=7e00027&submodules=1' (2024-07-26) • Updated input 'nix-index-db': 'github:Mic92/nix-index-database/b6db9fd' (2024-07-21) → 'github:Mic92/nix-index-database/c0ca47e' (2024-07-28) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/9cf33b4' (2024-07-27) → 'github:nix-community/nixpkgs-wayland/6642ef6' (2024-07-28) • Updated input 'nixpkgs-wayland/lib-aggregate': 'github:nix-community/lib-aggregate/e0ea775' (2024-07-21) → 'github:nix-community/lib-aggregate/4ce8efe' (2024-07-28) • Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/31a9902' (2024-07-21) → 'github:nix-community/nixpkgs.lib/d15f6f6' (2024-07-28) Docker Images: • rssbridge/rss-bridge latest: sha256:94480c924f35512e81ad846fd9968591c63d20221484b7774083055b990ab31f → sha256:5d8906da7276396e077e054eb7e646f4f02d639be60a0b3bded97ec751fc0700 • ghcr.io/linuxserver/calibre-web latest: sha256:604ae903f520bd5485bcbdb2f70ea460c90a559bca3d4ac3fc05b93da2737a0a → sha256:49660a8890e2e4356cbc4b8874ff5ad1ebc40f647fdb2419fc289700affebcf0 • ghcr.io/linuxserver/radarr latest: sha256:2a02b311cefb344cd0caf74a443b9d6318daf15bda5280a3bc732381db983dc3 → sha256:9d6f0548fd805edb30108fdd06d0fc5a4436c9bd708b57bd4119d7aefa815fe4 • ghcr.io/fallenbagel/jellyseerr develop: sha256:4faf2f19c7a2be559354821e7da57477c236a22afb78e17a40dd40a75a120435 → sha256:788f508bdb33812a77acc8281e1299ff95ddebd07aee40d452e4f0c74bb15dc9
2024-07-30 01:45:01 -04:00
console.log(firefoxOutput);
chore: update flake.lock Flake Inputs: • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/798e83f' (2024-07-27) → 'github:matt1432/discord-nightly-overlay/4df152b' (2024-07-29) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=5e2a233' (2024-07-26) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=ddf3fa5' (2024-07-28) • Updated input 'gtk-theme-src': 'github:dracula/gtk/c9896cb' (2024-07-21) → 'github:dracula/gtk/100310f' (2024-07-29) • Updated input 'headscale': 'github:juanfont/headscale/4ad3f3c' (2024-07-22) → 'github:juanfont/headscale/06f0705' (2024-07-28) • Updated input 'home-manager': 'github:nix-community/home-manager/975b83c' (2024-07-27) → 'github:nix-community/home-manager/89670e2' (2024-07-29) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=729b47d46d0c749efbffe01ea863a124fad562b4&submodules=1' (2024-07-27) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=e67322034037fef22079c8e480be38c1d04b5a4a&submodules=1' (2024-07-29) • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/f95d1509370b7f40ef356ff69a332bd0356ab044?narHash=sha256-GFDSPWxOqEkNrbuSfyoQHGIaRhJNapn2Rv0EEmBGR9A%3D' (2024-07-26) → 'github:hyprwm/aquamarine/4918e57979bbdbd05aabb20f63e1cb5dc289bcbd?narHash=sha256-75Hcx5Zu0f%2BBeCkZxN1frkYacjbkwgCq%2Bz3doVgr4Hw%3D' (2024-07-27) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/962582a090bc233c4de9d9897f46794280288989?narHash=sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk%3D' (2024-07-18) → 'github:hyprwm/hyprutils/5dcbbc1e3de40b2cecfd2007434d86e924468f1f?narHash=sha256-D3wIZlBNh7LuZ0NaoCpY/Pvu%2BxHxIVtSN%2BKkWZYvvVs%3D' (2024-07-27) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/5555f467f68ce7cdf1060991c24263073b95e9da?narHash=sha256-O17b38bQnmfxv7It3OnVYx7fp1seEdI7xxnw5vJFv30%3D' (2024-07-23) → 'github:hyprwm/xdg-desktop-portal-hyprland/0e2f3b9c85f7bab3983098a01366876d34daf383?narHash=sha256-Lj/g1UzrsTZUixtveQix6eB3pon2j23qv5/5pzTx0LQ%3D' (2024-07-28) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/1b61f0093afff20ab44d88ad707aed8bf2215290?narHash=sha256-HUklK5u86w2Yh9dOkk4FdsL8eehcOZ95jPhLixGDRQY%3D' (2024-06-18) → 'github:hyprwm/hyprland-protocols/5a11232266bf1a1f5952d5b179c3f4b2facaaa84?narHash=sha256-zCu4R0CSHEactW9JqYki26gy8h9f6rHmSwj4XJmlHgg%3D' (2024-07-18) • Updated input 'hyprgrass': 'github:horriblename/hyprgrass/736119f' (2024-06-14) → 'github:horriblename/hyprgrass/5c93341' (2024-07-28) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/dc966ed' (2024-07-27) → 'github:fufexan/nix-gaming/7a07614' (2024-07-29) • Updated input 'nix-gaming/umu': 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=abbdeed&submodules=1' (2024-07-20) → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=7e00027&submodules=1' (2024-07-26) • Updated input 'nix-index-db': 'github:Mic92/nix-index-database/b6db9fd' (2024-07-21) → 'github:Mic92/nix-index-database/c0ca47e' (2024-07-28) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/9cf33b4' (2024-07-27) → 'github:nix-community/nixpkgs-wayland/6642ef6' (2024-07-28) • Updated input 'nixpkgs-wayland/lib-aggregate': 'github:nix-community/lib-aggregate/e0ea775' (2024-07-21) → 'github:nix-community/lib-aggregate/4ce8efe' (2024-07-28) • Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/31a9902' (2024-07-21) → 'github:nix-community/nixpkgs.lib/d15f6f6' (2024-07-28) Docker Images: • rssbridge/rss-bridge latest: sha256:94480c924f35512e81ad846fd9968591c63d20221484b7774083055b990ab31f → sha256:5d8906da7276396e077e054eb7e646f4f02d639be60a0b3bded97ec751fc0700 • ghcr.io/linuxserver/calibre-web latest: sha256:604ae903f520bd5485bcbdb2f70ea460c90a559bca3d4ac3fc05b93da2737a0a → sha256:49660a8890e2e4356cbc4b8874ff5ad1ebc40f647fdb2419fc289700affebcf0 • ghcr.io/linuxserver/radarr latest: sha256:2a02b311cefb344cd0caf74a443b9d6318daf15bda5280a3bc732381db983dc3 → sha256:9d6f0548fd805edb30108fdd06d0fc5a4436c9bd708b57bd4119d7aefa815fe4 • ghcr.io/fallenbagel/jellyseerr develop: sha256:4faf2f19c7a2be559354821e7da57477c236a22afb78e17a40dd40a75a120435 → sha256:788f508bdb33812a77acc8281e1299ff95ddebd07aee40d452e4f0c74bb15dc9
2024-07-30 01:45:01 -04:00
const flakeOutput = updateFlakeInputs();
console.log(flakeOutput);
const dockerOutput = updateDocker();
console.log(dockerOutput);
const nodeModulesOutput = await updateNodeModules();
console.log(nodeModulesOutput);
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/a93f0ac' (2024-10-16) → 'github:Aylur/ags/b7f3896' (2024-10-19) • Updated input 'astal': 'github:Aylur/astal/f763c44' (2024-10-18) → 'github:Aylur/astal/bfb7e27' (2024-10-20) • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar/fcada91' (2024-10-15) → 'github:elchininet/custom-sidebar/80942f5' (2024-10-21) • Updated input 'home-manager': 'github:nix-community/home-manager/09a0c0c' (2024-10-18) → 'github:nix-community/home-manager/1e27f21' (2024-10-20) • Updated input 'hyprland': 'github:hyprwm/Hyprland/0e630e9' (2024-10-17) → 'github:hyprwm/Hyprland/62ee5cc' (2024-10-19) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/79f0e31' (2024-10-18) → 'github:fufexan/nix-gaming/177e270' (2024-10-20) • Updated input 'nix-index-db': 'github:Mic92/nix-index-database/5c54c33' (2024-10-13) → 'github:Mic92/nix-index-database/04f8a11' (2024-10-20) • Updated input 'nixd': 'github:nix-community/nixd/c38702b' (2024-10-01) → 'github:nix-community/nixd/d3c7e56' (2024-10-20) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5785b6b' (2024-10-16) → 'github:NixOS/nixpkgs/4c2fcb0' (2024-10-18) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18) → 'github:nix-community/nixpkgs-wayland/7c64c3c' (2024-10-20) • Updated input 'pokemon-colorscripts-src': 'gitlab:phoneybadger/pokemon-colorscripts/0483c85' (2022-10-28) → 'gitlab:phoneybadger/pokemon-colorscripts/5802ff6' (2024-10-19) • Updated input 'sops-nix': 'github:Mic92/sops-nix/06535d0' (2024-10-08) → 'github:Mic92/sops-nix/c504fd7' (2024-10-20) • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython/4bb0658' (2024-10-14) → 'github:thlucas1/SpotifyWebApiPython/8c6aff1' (2024-10-19) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/587d622' (2024-10-18) → 'github:make-all/tuya-local/38744c0' (2024-10-21) Docker Images: • rssbridge/rss-bridge latest: sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889 → sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d
2024-10-20 21:42:54 -04:00
const vuetorrentOutput = updateVuetorrent();
console.log(vuetorrentOutput);
2024-12-29 01:28:33 -05:00
const caddyPluginsOutput = updateCaddyPlugins();
console.log(caddyPluginsOutput);
// These don't need to be added to commit message
console.log(updateCustomPackage(
'scopedPackages.x86_64-linux.lovelace-components.custom-sidebar',
));
console.log(updateCustomPackage('some-sass-language-server'));
// nix-update executions
let nixUpdateOutputs = '';
const updatePackage = (pkg: string): void => {
const execution = runNixUpdate(pkg);
nixUpdateOutputs += execution.stdout;
console.log(execution.stderr);
console.log(execution.stdout);
};
updatePackage('homepage');
updatePackage('jmusicbot');
chore: update sources Flake Inputs: • Updated input 'astal': 'github:Aylur/astal' (2025-02-07) rev: 5e0e00e148af0f173ca0883bc2fbbfb103d81f36 → 'github:Aylur/astal' (2025-02-11) rev: ee91402cabc994bb4fb7c3f5405a218ad0b57fd3 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2025-02-05) rev: 86f32f37a17d63205cd43cdf35ea0aae48561877 → 'github:elchininet/custom-sidebar' (2025-02-09) rev: 5e65f568db9312ca84b0de4f376899af54a14655 • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-09) rev: ddc3871b27fe9fc086453e3c61b96ae4783e4035 → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2025-02-11) rev: 38f1ef0f9b56518e2ffafeb1f66eba383ab2e4b7 • Updated input 'home-manager': 'github:nix-community/home-manager' (2025-02-08) rev: 5af1b9a0f193ab6138b89a8e0af8763c21bbf491 → 'github:nix-community/home-manager' (2025-02-11) rev: 83bd3a26ac0526ae04fa74df46738bb44b89dcdd • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2025-02-09) rev: f261fb6fe028a1427cfd672eee6e7d5705cd696f → 'github:hyprwm/Hyprland' (2025-02-12) rev: 68bb3e7f0a1d528a8b2da1f92d2005889587561d • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine' (2025-02-02) rev: 257b2050790ab3b1eb389e0f8bdc400eb9510139 → 'github:hyprwm/aquamarine' (2025-02-09) rev: a3dda0d10ce9aa1d1dfb7a6c139ea8c2872c74bd • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor' (2025-01-29) rev: dcadd3398abe146d60c67e0d9ee6e27b301cae82 → 'github:hyprwm/hyprcursor' (2025-02-04) rev: 7c6d165e1eb9045a996551eb9f121b6d1b30adc3 • Updated input 'hyprland/hyprgraphics': 'github:hyprwm/hyprgraphics' (2025-02-01) rev: 5ac80e3686a4dfa55d2bd15c81a266b89594a295 → 'github:hyprwm/hyprgraphics' (2025-02-08) rev: 175c6b29b6ff82100539e7c4363a35a02c74dd73 • Updated input 'hyprland/hyprland-qtutils': 'github:hyprwm/hyprland-qtutils' (2025-01-27) rev: 96bf0677fa9cd13508294e3d4559dfbbc8beff73 → 'github:hyprwm/hyprland-qtutils' (2025-02-08) rev: 3504a293c8f8db4127cb0f7cfc1a318ffb4316f8 • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang' (2025-01-23) rev: f41271d35cc0f370d300413d756c2677f386af9d → 'github:hyprwm/hyprlang' (2025-02-08) rev: a7334904d591f38757c46fbe2ab68651877d9099 • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils' (2025-01-27) rev: 6a8bc9d2a4451df12f5179dc0b1d2d46518a90ab → 'github:hyprwm/hyprutils' (2025-02-08) rev: e4e018a2ca6f5a9c33511973454199e1c7c85499 • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner' (2024-12-29) rev: de913476b59ee88685fdc018e77b8f6637a2ae0b → 'github:hyprwm/hyprwayland-scanner' (2025-02-08) rev: 04146df74a8d5ec0b579657307be01f1e241125f • Updated input 'jellyfin-flake': 'github:matt1432/nixos-jellyfin' (2025-02-01) rev: dd838e535a264d3f6aa51a234f154224e46f1eed → 'github:matt1432/nixos-jellyfin' (2025-02-09) rev: 42092d54585cef272cac955cb0a07e3f76d46de4 • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-06) rev: 4642ec1073a7417e6303484d8f2e7d29dc24a50f → 'github:Jovian-Experiments/Jovian-NixOS' (2025-02-12) rev: 3dab95e02b5eeb9aec44a161bbed2b16b3d03aac • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2025-02-09) rev: 8fc10023a4057e81361fb46f38d8c593de99f3e2 → 'github:fufexan/nix-gaming' (2025-02-11) rev: 1d23e26a88c30f401ecd8a654d71ac6441d0d324 • Updated input 'nixcord': 'github:kaylorben/nixcord' (2025-02-08) rev: 677db34f35bdffcdca07246099ea3b22fc6688dc → 'github:kaylorben/nixcord' (2025-02-11) rev: 6696ee49650793e8a1d2def341c4fd75cc856f91 • Updated input 'nixd': 'github:nix-community/nixd' (2025-02-01) rev: 06d1c850614d0ea60b4f7e3fd89cca0628c21feb → 'github:nix-community/nixd' (2025-02-11) rev: 065dcb4cb2f8269d6d15d2b2491a79cff47f9550 • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2025-02-08) rev: a79cfe0ebd24952b580b1cf08cd906354996d547 → 'github:NixOS/nixpkgs' (2025-02-10) rev: 64e75cd44acf21c7933d61d7721e812eac1b5a0a • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2025-02-09) rev: e1f306052d4bc4ed7c773e3c9e7fc1c6574a100b → 'github:nix-community/nixpkgs-wayland' (2025-02-12) rev: aa13cfafacad104ce67c961be48461d3fc52f57b • Updated input 'sops-nix': 'github:Mic92/sops-nix' (2025-01-31) rev: 4c1251904d8a08c86ac6bc0d72cc09975e89aef7 → 'github:Mic92/sops-nix' (2025-02-11) rev: 07af005bb7d60c7f118d9d9f5530485da5d1e975 • Updated input 'ts-for-gir-src': 'github:gjsify/ts-for-gir' (2025-01-22) rev: 273918e99db404c17f3c9e848c3de96356be0ad7 → 'github:gjsify/ts-for-gir' (2025-02-12) rev: d1e462ffdb6150749d2e4e7edf97b93f82c525d2 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2025-02-09) rev: 358f27849f03c4ee7190be3ddb64eb0d3cf149f9 → 'github:make-all/tuya-local' (2025-02-11) rev: 064889632d3b95afd2a37b6f353cd341f34bb2bd Docker Images: • ghcr.io/linuxserver/bazarr latest: sha256:8415caab20c3642adb281ea066e82a58b8011b6e12bec5339db66599b700f805 → sha256:88272d031e268a5d10035e2707fc095417dba9794a7a4a59b51f01e6f9b74f65 • ghcr.io/linuxserver/prowlarr latest: sha256:b242bc98897d8fa65db7b72f5dbde04b161a092d3cce2321b8c7e62c9321820d → sha256:8883bf1c8afdd45dfb8146041d944656efac01208ef44b7bbdd2aa8b0fbc1782 • ghcr.io/linuxserver/sonarr latest: sha256:20b81f5054d31f0151be3c5e282a85361cc24b7ffaab67a997bb4379caa8485b → sha256:28d9dcbc846aed74bd47dc90305e016183443ddc3dfa3e8bcac268fc653a6e5e Node modules: @types/node: 22.13.0 -> 22.13.1 esbuild: 0.24.2 -> 0.25.0 eslint: 9.20.0 -> 9.20.1 typescript-eslint: 8.23.0 -> 8.24.0 nix-update executions: material-rounded-theme: 3.0.6 -> 3.0.7
2025-02-12 10:05:43 -05:00
// updatePackage('pam-fprint-grosshack');
updatePackage('protonhax');
updatePackage('trash-d');
updatePackage(
'scopedPackages.x86_64-linux.lovelace-components.material-rounded-theme',
);
spawnSync('nixFastBuild', [], {
shell: true,
stdio: [process.stdin, process.stdout, process.stderr],
});
const indentOutput = (output: string): string => {
return ` ${output.split('\n').join('\n ')}`;
};
const output = [
'chore: update sources\n\n',
];
if (flakeOutput.length > 5) {
output.push(`Flake Inputs:\n${indentOutput(flakeOutput)}\n\n`);
}
if (dockerOutput.length > 5) {
output.push(`Docker Images:\n${indentOutput(dockerOutput)}\n`);
}
if (firefoxOutput.length > 5) {
output.push(`Firefox Addons:\n${indentOutput(firefoxOutput)}\n\n`);
}
if (nodeModulesOutput.length > 5) {
output.push(`Node modules:\n${indentOutput(nodeModulesOutput)}\n`);
}
if (vuetorrentOutput.length > 5) {
output.push(`Misc Sources:\n${indentOutput(vuetorrentOutput)}\n\n`);
}
2024-12-29 01:28:33 -05:00
if (caddyPluginsOutput.length > 5) {
output.push(`Caddy Plugins:\n${indentOutput(caddyPluginsOutput)}\n\n`);
}
if (nixUpdateOutputs.length > 5) {
output.push(`nix-update executions:\n${indentOutput(nixUpdateOutputs)}\n`);
}
if (args['f']) {
writeFileSync(args['f'] as string, output.join(''));
}
else {
console.log(output.join(''));
}
}
spawnSync('alejandra', ['-q', FLAKE], { shell: true });
};
main();