Compare commits

...

2 commits

Author SHA1 Message Date
09be304b8e refactor(updateScript): make commit msg cleaner
All checks were successful
Discord / discord commits (push) Has been skipped
2024-11-04 16:00:32 -05:00
c11fe8867c chore: update flake.lock
Flake Inputs:
• Updated input 'agsV2':
    'github:Aylur/ags/4b1e7da' (2024-11-01)
  → 'github:Aylur/ags/198993b' (2024-11-03)

• Updated input 'astal':
    'github:Aylur/astal/d47b470' (2024-11-01)
  → 'github:Aylur/astal/8c6d218' (2024-11-04)

• Updated input 'custom-sidebar-src':
    'github:elchininet/custom-sidebar/29afb63' (2024-11-01)
  → 'github:elchininet/custom-sidebar/4628b42' (2024-11-03)

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/97a9864' (2024-10-26)
  → 'github:matt1432/discord-nightly-overlay/a1094ba' (2024-11-04)

• Updated input 'discord-overlay/Vencord-src':
    'github:Vendicated/vencord/88e8fa7' (2024-10-25)
  → 'github:Vendicated/vencord/5216bcc' (2024-11-03)

• Updated input 'home-manager':
    'github:nix-community/home-manager/1743615' (2024-11-01)
  → 'github:nix-community/home-manager/8f6ca78' (2024-11-03)

• Updated input 'hyprland':
    'github:hyprwm/Hyprland/3852418' (2024-11-01)
  → 'github:hyprwm/Hyprland/88e9e03' (2024-11-04)

• Updated input 'hyprland/xdph':
    'github:hyprwm/xdg-desktop-portal-hyprland/fb9c8d6' (2024-10-05)
  → 'github:hyprwm/xdg-desktop-portal-hyprland/09b23ce' (2024-11-04)

• Updated input 'hyprland-plugins':
    'github:hyprwm/hyprland-plugins/60c5c63' (2024-10-31)
  → 'github:hyprwm/hyprland-plugins/c347d8a' (2024-11-02)

• Updated input 'jellyfin-flake':
    'github:matt1432/nixos-jellyfin/89bf72b' (2024-10-30)
  → 'github:matt1432/nixos-jellyfin/69a59f5' (2024-11-04)

• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/bd1da56' (2024-11-01)
  → 'github:Jovian-Experiments/Jovian-NixOS/e74e57a' (2024-11-03)

• Updated input 'material-symbols-src':
    'github:beecho01/material-symbols/4d6b504' (2024-10-28)
  → 'github:beecho01/material-symbols/000ccf2' (2024-11-02)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/bcc7c89' (2024-11-01)
  → 'github:fufexan/nix-gaming/43f595b' (2024-11-03)

• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=72499f3&submodules=1' (2024-10-26)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=70645c2&submodules=1' (2024-11-02)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/0e3a877' (2024-10-27)
  → 'github:Mic92/nix-index-database/cc2ddbf' (2024-11-03)

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/807e915' (2024-10-29)
  → 'github:NixOS/nixpkgs/7ffd9ae' (2024-11-02)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/30bd379' (2024-11-01)
  → 'github:nix-community/nixpkgs-wayland/50ee762' (2024-11-04)

• Updated input 'pcsd':
    'github:matt1432/nixos-pcsd/18409e6' (2024-11-01)
  → 'github:matt1432/nixos-pcsd/12c6a2b' (2024-11-02)

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/1666d16' (2024-10-27)
  → 'github:Mic92/sops-nix/59d6988' (2024-11-04)

• Updated input 'spotifyplus-src':
    'github:thlucas1/homeassistantcomponent_spotifyplus/392f331' (2024-10-30)
  → 'github:thlucas1/homeassistantcomponent_spotifyplus/532daa8' (2024-11-03)

• Updated input 'spotifywebapi-src':
    'github:thlucas1/SpotifyWebApiPython/4d3b7b5' (2024-10-30)
  → 'github:thlucas1/SpotifyWebApiPython/0bca776' (2024-11-04)

• Updated input 'ts-for-gir-src':
    'github:gjsify/ts-for-gir/ec732f1' (2024-11-01)
  → 'github:gjsify/ts-for-gir/8de2706' (2024-11-03)

• Updated input 'tuya-local-src':
    'github:make-all/tuya-local/9142927' (2024-11-01)
  → 'github:make-all/tuya-local/aad7e48' (2024-11-04)

Docker Images:
• rssbridge/rss-bridge latest:
   sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d
 → sha256:27715a8921343d80e814a96675f63c0494efcae2c5628ba6f88e1626a3eb2fb0
2024-11-04 15:48:17 -05:00
7 changed files with 21 additions and 37 deletions

View file

@ -23,6 +23,8 @@ export const updateFlakeInputs = () => {
'flake-parts', 'flake-parts',
'treefmt-nix', 'treefmt-nix',
'lib-aggregate', 'lib-aggregate',
'lib-aggregate/nixpkgs-lib',
'sops-nix/nixpkgs-stable',
].some((inputName) => input.startsWith(` Updated input '${inputName}'`))) ].some((inputName) => input.startsWith(` Updated input '${inputName}'`)))
.join('\n\n•') .join('\n\n•')
// Shorten git revs to help readability // Shorten git revs to help readability
@ -36,27 +38,26 @@ export const updateFlakeInputs = () => {
}; };
export const updateDocker = () => { 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();
if (out !== '# Locked') {
return out;
}
};
let updates = ''; let updates = '';
console.log('Updating jfa-go image'); updates += updateImages(`${FLAKE}/devices/nos/modules/jellyfin`) ?? '';
updates += spawnSync('updateImages', updates += updateImages(`${FLAKE}/devices/homie/modules/home-assistant/netdaemon`) ?? '';
[`${FLAKE}/devices/nos/modules/jellyfin`],
{ shell: true })
.stdout.toString();
console.log('Updating netdaemon image'); const DIR = `${FLAKE}/devices/nos/modules/docker`;
updates += spawnSync('updateImages',
[`${FLAKE}/devices/homie/modules/home-assistant/netdaemon`],
{ shell: true })
.stdout.toString();
const FILE = `${FLAKE}/devices/nos/modules/docker`; readdirSync(DIR, { withFileTypes: true, recursive: true }).forEach((path) => {
readdirSync(FILE, { withFileTypes: true, recursive: true }).forEach((path) => {
if (path.name === 'compose.nix') { if (path.name === 'compose.nix') {
console.log(`Updating ${path.parentPath.split('/').at(-1)} images`); updates += updateImages(path.parentPath) ?? '';
updates += spawnSync('updateImages', [path.parentPath], { shell: true })
.stdout.toString();
} }
}); });

View file

@ -1,8 +1,8 @@
pkgs: pkgs:
pkgs.dockerTools.pullImage rec { pkgs.dockerTools.pullImage rec {
imageName = "rssbridge/rss-bridge"; imageName = "rssbridge/rss-bridge";
imageDigest = "sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d"; imageDigest = "sha256:27715a8921343d80e814a96675f63c0494efcae2c5628ba6f88e1626a3eb2fb0";
sha256 = "0f0d0710k99gq4dvayjl4n0aby8gly04jp9bn6qab0j3zy0wdb0y"; sha256 = "0ysycwvrwjzz3mkllcv7h2gjic89bizsz7m2n40bnz7jl8z45bwc";
finalImageName = imageName; finalImageName = imageName;
finalImageTag = "latest"; finalImageTag = "latest";
} }

View file

@ -11,21 +11,7 @@
in { in {
services.jellyfin = { services.jellyfin = {
package = jellyPkgs.jellyfin; package = jellyPkgs.jellyfin;
webPackage = jellyPkgs.jellyfin-web.overrideAttrs { webPackage = jellyPkgs.jellyfin-web.override {forceEnableBackdrops = true;};
postInstall = ''
substituteInPlace $out/share/jellyfin-web/main.jellyfin.bundle.js --replace-fail \
'enableBackdrops:function(){return L}' 'enableBackdrops:function(){return _}'
'';
};
ffmpegPackage = jellyPkgs.jellyfin-ffmpeg; ffmpegPackage = jellyPkgs.jellyfin-ffmpeg;
}; };
environment.systemPackages = builtins.attrValues {
inherit
(config.services.jellyfin)
finalPackage
webPackage
ffmpegPackage
;
};
} }

Binary file not shown.

BIN
flake.nix

Binary file not shown.

View file

@ -113,9 +113,6 @@ let
hyprland = mkDep { hyprland = mkDep {
owner = "hyprwm"; owner = "hyprwm";
repo = "Hyprland"; repo = "Hyprland";
# FIXME: https://github.com/hyprwm/Hyprland/issues/8325
rev = "3852418d2446555509738bf1486940042107afe7";
}; };
hyprland-plugins = mkHyprDep { hyprland-plugins = mkHyprDep {

View file

@ -30,7 +30,7 @@ in
pnpmDeps = pnpm.fetchDeps { pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
hash = "sha256-kwIheATWkKnkbAEB6YMGVyRVKyVaKLw4cO8tmrtTyuw="; hash = "sha256-M5PpW8bUoOPeNZefknNxcoWBYqI7AXN37fQ41rHnEa8=";
}; };
passthru.update = concatTextFile { passthru.update = concatTextFile {