nixos-configs/apps/update/src/misc.ts

105 lines
3.1 KiB
TypeScript
Raw Normal View History

import { readdirSync, writeFileSync } from 'node:fs';
import { spawnSync } from 'node:child_process';
import { parseFetchurl } from './lib.ts';
/* Constants */
const FLAKE = process.env.FLAKE;
export const updateFlakeInputs = () => {
const output = spawnSync(
chore: update flake.lock Flake Inputs: • Updated input 'caddy-plugins': 'github:matt1432/nixos-caddy-cloudflare/3e6819b' (2024-07-04) → 'github:matt1432/nixos-caddy-cloudflare/f2a856f' (2024-07-30) • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/4df152b' (2024-07-29) → 'github:matt1432/discord-nightly-overlay/a9c387d' (2024-07-30) • Updated input 'home-manager': 'github:nix-community/home-manager/89670e2' (2024-07-29) → 'github:nix-community/home-manager/4fcd54d' (2024-07-30) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=e673220&submodules=1' (2024-07-29) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=3b9b534&submodules=1' (2024-07-30) • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/4918e57' (2024-07-27) → 'github:hyprwm/aquamarine/7c3565f' (2024-07-30) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/0e2f3b9' (2024-07-28) → 'github:hyprwm/xdg-desktop-portal-hyprland/7f2a77d' (2024-07-30) • Updated input 'jellyfin-flake': 'github:matt1432/nixos-jellyfin/4b8f983' (2024-07-26) → 'github:matt1432/nixos-jellyfin/7253d43' (2024-07-30) • Updated input 'khepri': 'github:matt1432/khepri/52d9b7e' (2024-07-24) → 'github:matt1432/khepri/a7d1a51' (2024-07-30) • Updated input 'minix': 'github:matt1432/Minix/7537fb8' (2024-07-13) → 'github:matt1432/Minix/d3f8c44' (2024-07-30) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/b73c222' (2024-07-27) → 'github:NixOS/nixpkgs/3fcada1' (2024-07-30) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/6642ef6' (2024-07-28) → 'github:nix-community/nixpkgs-wayland/8badd76' (2024-07-30) • Updated input 'pcsd': 'github:matt1432/nixos-pcsd/62b44c2' (2024-07-27) → 'github:matt1432/nixos-pcsd/3fa8578' (2024-07-30) • Updated input 'pr-tracker': 'github:matt1432/pr-tracker/c0df731' (2024-07-30) → 'github:matt1432/pr-tracker/8e93c30' (2024-07-30) Docker Images: • codeberg.org/forgejo/forgejo 8.0.0: sha256:6f4620d8fb4bb8288315b07ca65286da958745d623fc9eaef4bb4e0e34c68b3d → sha256:f3ec5c63038cf2ce31a71e50e48b24c334ba0a5233808d1a5a60d45203f84f02 • rssbridge/rss-bridge latest: sha256:5d8906da7276396e077e054eb7e646f4f02d639be60a0b3bded97ec751fc0700 → sha256:6161fe1fef70ad077dcae364164d7739c9c0d76bbc7f154dd64a2352fc93f291 • ghcr.io/immich-app/immich-machine-learning v1.111.0: sha256:794c3fc4a1da9925f1fdd4ac13fd0646f11a5f682bd50e1cd7e2283f3332ac65 → sha256:d4a5db2c7cda2897abea98a3d5fd0c3cc76618fff271708075faeee426fe1b64 • ghcr.io/immich-app/immich-server v1.111.0: sha256:9de91632ea5c0aabcd5558cab8b270f6bde00679fc6bdc35806fb49367e4a583 → sha256:14ad5881f5afbea1dbf751e14acaafe00e6b012ffb18a56e9f117b00eb067d1d • ghcr.io/linuxserver/bazarr latest: sha256:25f0d19ba9226fdf15aec0fc7fa134ba89fc6f77f09d7bd45b33c5960c47821e → sha256:e70de8a714ac57395d45052392001ec433b8f48aa1c204f13dae312cbcbe43af Firefox Addons: bitwarden: 2024.6.3 -> 2024.7.1
2024-07-30 22:21:08 -04:00
`git restore flake.lock &> /dev/null; nix flake update --flake ${FLAKE}` +
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
' |& grep -v "warning: updating lock file" |& grep -v "unpacking"',
[],
{ shell: true },
).stdout
.toString()
// Add an extra blank line between inputs
.split('\n•')
2024-10-30 02:27:07 -04:00
.filter((input) => ![
'systems',
'flake-utils',
'flake-parts',
'treefmt-nix',
'lib-aggregate',
'lib-aggregate/nixpkgs-lib',
'sops-nix/nixpkgs-stable',
].some((inputName) => input.startsWith(` Updated input '${inputName}'`)))
.join('\n\n•')
// Shorten git revs to help readability
.split('\n')
.map((l) => l
.replace(/.{33}\?narHash=sha256[^']*/, '')
.replace(/&rev=(.{7})[^'&]*/, (_, backref) => `&rev=${backref}`))
.join('\n');
return output;
};
export const updateDocker = () => {
const updateImages = (imagePath: string): string | undefined => {
console.log(`Updating ${imagePath.split('/').at(-1)} images`);
const out = spawnSync('updateImages', [imagePath], { shell: true }).stdout.toString();
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/198993b' (2024-11-03) → 'github:Aylur/ags/e04f229' (2024-11-06) • Updated input 'astal': 'github:Aylur/astal/8c6d218' (2024-11-04) → 'github:Aylur/astal/5151434' (2024-11-07) • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar/4628b42' (2024-11-03) → 'github:elchininet/custom-sidebar/dc0195d' (2024-11-07) • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/a1094ba' (2024-11-04) → 'github:matt1432/discord-nightly-overlay/4746f78' (2024-11-06) • Updated input 'discord-overlay/Vencord-src': 'github:Vendicated/vencord/5216bcc' (2024-11-03) → 'github:Vendicated/vencord/9d4e859' (2024-11-05) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=258f690' (2024-11-01) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=74d30f1' (2024-11-05) • Updated input 'home-manager': 'github:nix-community/home-manager/8f6ca78' (2024-11-03) → 'github:nix-community/home-manager/2f607e0' (2024-11-05) • Updated input 'hyprland': 'github:hyprwm/Hyprland/88e9e03' (2024-11-04) → 'github:hyprwm/Hyprland/2ec2b3b' (2024-11-06) • Updated input 'hyprland-plugins': 'github:hyprwm/hyprland-plugins/c347d8a' (2024-11-02) → 'github:hyprwm/hyprland-plugins/44859f8' (2024-11-04) • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS/e74e57a' (2024-11-03) → 'github:Jovian-Experiments/Jovian-NixOS/84da088' (2024-11-06) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/43f595b' (2024-11-03) → 'github:fufexan/nix-gaming/0c25376' (2024-11-05) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/7ffd9ae' (2024-11-02) → 'github:NixOS/nixpkgs/4aa3656' (2024-11-05) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/50ee762' (2024-11-04) → 'github:nix-community/nixpkgs-wayland/be9941c' (2024-11-06) • Updated input 'pcsd': 'github:matt1432/nixos-pcsd/12c6a2b' (2024-11-02) → 'github:matt1432/nixos-pcsd/8a30887' (2024-11-05) • Updated input 'sops-nix': 'github:Mic92/sops-nix/59d6988' (2024-11-04) → 'github:Mic92/sops-nix/c5ae1e2' (2024-11-06) • Updated input 'ts-for-gir-src': 'github:gjsify/ts-for-gir/8de2706' (2024-11-03) → 'github:gjsify/ts-for-gir/84baa3a' (2024-11-06) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/aad7e48' (2024-11-04) → 'github:make-all/tuya-local/fb583c9' (2024-11-05) Docker Images: • hrfee/jfa-go unstable: sha256:5254d210cbd45e7423e7f2ae31e5e6dcfa232311ee79da8edd3b7982b144c598 → sha256:739977423a29f65811d50d1bb98571db38da109e2f6f2d2dc4384092d009cacc • vegardit/gitea-act-runner dind-latest: sha256:ea8e9a0304fba7648b62fe19c39c38dd08e8c71b8d2a0cac65f834ccf6215daf → sha256:61c937fd19ead374764f7a00f3e284521b5d0eea8edef6761276e3cd06bf4a9a • ghcr.io/immich-app/immich-machine-learning release: sha256:e8c416445db60c0ec94394c1e0e672b78409664f17de78787c62f6d13d3f6d92 → sha256:a7c897a0b011b031c5f825e1667a6de4793c15adc53300f8ba4170d12a68d913 • ghcr.io/immich-app/immich-server release: sha256:d63feeee7a41095b3c1b18607d86a1264bcac53728a19f538a77a6e66043f492 → sha256:ac215f5c1a52f7b25617924db61d54bb72b534d902ccb58eb595cdba98899aa3 • ghcr.io/linuxserver/bazarr latest: sha256:81e922037f03d40c77220d20ed73591b0ef9995638d5c68ff2c5d82ae36eea8d → sha256:88684337f4e3ea6c47623e47c5c27f798ed0d24fbca3e08c8d04be7a2b8a5668 Firefox Addons: darkreader: 4.9.94 -> 4.9.96
2024-11-06 21:46:40 -05:00
if (!out.startsWith('# Locked')) {
return out;
}
};
let updates = '';
updates += updateImages(`${FLAKE}/devices/nos/modules/jellyfin`) ?? '';
updates += updateImages(`${FLAKE}/devices/homie/modules/home-assistant/netdaemon`) ?? '';
const DIR = `${FLAKE}/devices/nos/modules/docker`;
readdirSync(DIR, { withFileTypes: true, recursive: true }).forEach((path) => {
if (path.name === 'compose.nix') {
updates += updateImages(path.parentPath) ?? '';
}
});
return updates;
};
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 genVueText = (
version: string,
hash: string,
url: string,
) => `# This file was autogenerated. DO NOT EDIT!
{
version = "${version}";
url = "${url}";
hash = "${hash}";
}
`;
export const updateVuetorrent = () => {
const FILE = `${FLAKE}/devices/nos/modules/qbittorrent/vuetorrent.nix`;
const OLD_VERSION = JSON.parse(spawnSync('nix',
['eval', '-f', FILE, '--json'],
{ shell: true }).stdout.toString()).version;
const VERSION = JSON.parse(spawnSync('curl',
['-s', 'https://api.github.com/repos/VueTorrent/VueTorrent/releases/latest'],
{ shell: true }).stdout.toString()).tag_name.replace('v', '');
const URL = `https://github.com/VueTorrent/VueTorrent/releases/download/v${VERSION}/vuetorrent.zip`;
const HASH = parseFetchurl(URL);
const fileText = genVueText(VERSION, HASH, URL);
writeFileSync(FILE, fileText);
chore: update flake.lock Flake Inputs: • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=9ca5847' (2024-07-21) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=da73b3a' (2024-07-22) • Updated input 'gtk-theme-src': 'github:dracula/gtk/25dc510' (2024-07-14) → 'github:dracula/gtk/c9896cb' (2024-07-21) • Updated input 'headscale': 'github:juanfont/headscale/ca47d6f' (2024-07-19) → 'github:juanfont/headscale/4ad3f3c' (2024-07-22) • Updated input 'home-manager': 'github:nix-community/home-manager/afd2021' (2024-07-16) → 'github:nix-community/home-manager/635563f' (2024-07-21) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=f642fb9&submodules=1' (2024-07-20) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=3c758db&submodules=1' (2024-07-22) • Added input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/601f6cf' (2024-07-21) • Added input 'hyprland/aquamarine/hyprutils': follows 'hyprland/hyprutils' • Added input 'hyprland/aquamarine/hyprwayland-scanner': follows 'hyprland/hyprwayland-scanner' • Added input 'hyprland/aquamarine/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/aquamarine/systems': follows 'hyprland/systems' • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/a5c0d57' (2024-07-04) → 'github:hyprwm/hyprcursor/4493a97' (2024-07-18) • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/5df0174' (2024-07-07) → 'github:hyprwm/hyprlang/adbefbf' (2024-07-18) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/eb1ceff' (2024-07-15) → 'github:hyprwm/hyprutils/962582a' (2024-07-18) • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner/d5fa094' (2024-07-05) → 'github:hyprwm/hyprwayland-scanner/a048a6c' (2024-07-18) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/b9b97e5' (2024-07-05) → 'github:hyprwm/xdg-desktop-portal-hyprland/663be9c' (2024-07-22) • Updated input 'hyprland-plugins': 'github:hyprwm/hyprland-plugins/f23d3eb' (2024-07-19) → 'github:hyprwm/hyprland-plugins/4c2cef8' (2024-07-22) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/d9fcc47' (2024-07-19) → 'github:nix-community/neovim-nightly-overlay/464172e' (2024-07-22) • Updated input 'neovim-nightly/neovim-src': 'github:neovim/neovim/f61efe3' (2024-07-18) → 'github:neovim/neovim/7381f0a' (2024-07-21) • Updated input 'nix-on-droid': 'github:nix-community/nix-on-droid/c00333e' (2024-07-14) → 'github:nix-community/nix-on-droid/248cc08' (2024-07-22) • Updated input 'nixd': 'github:nix-community/nixd/334da32' (2024-07-16) → 'github:nix-community/nixd/87135e0' (2024-07-21) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/1d9c2c9' (2024-07-19) → 'github:NixOS/nixpkgs/68c9ed8' (2024-07-21) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/ae7066a' (2024-07-20) → 'github:nix-community/nixpkgs-wayland/79e1f9e' (2024-07-22) • Updated input 'nixpkgs-wayland/lib-aggregate': 'github:nix-community/lib-aggregate/6e56a6f' (2024-07-14) → 'github:nix-community/lib-aggregate/e0ea775' (2024-07-21) • Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/3b0b176' (2024-07-14) → 'github:nix-community/nixpkgs.lib/31a9902' (2024-07-21) • Updated input 'sops-nix': 'github:Mic92/sops-nix/909e8cf' (2024-07-21) → 'github:Mic92/sops-nix/aff2f88' (2024-07-22) • Updated input 'ts-for-gir-src': 'github:gjsify/ts-for-gir/199bb13' (2024-07-19) → 'github:gjsify/ts-for-gir/8b3ec80' (2024-07-22) Docker Images: • ghcr.io/linuxserver/radarr latest: sha256:1eaf9e83fca2b9170d4f49f6c0e55ba38693718e7815743a9ec297d199ab1e73 → sha256:2a02b311cefb344cd0caf74a443b9d6318daf15bda5280a3bc732381db983dc3 • ghcr.io/fallenbagel/jellyseerr develop: sha256:743fa4f6d66d2e558abc35239c4edeeaed74493728b0717111dea7f003bf262f → sha256:15e7464dd1a2997d9398b1f2161c7e8fff8518cf71c1b20b8fb1b5e354b31ece Misc Sources: Vuetorrent: 2.10.2 -> 2.11.0
2024-07-22 20:16:03 -04:00
return OLD_VERSION !== VERSION ? `Vuetorrent: ${OLD_VERSION} -> ${VERSION}` : '';
};
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
export const updateCustomPackage = (pkg: string) => spawnSync(
`nix run ${FLAKE}#${pkg}.update`,
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
[],
{ shell: true },
).stderr.toString();