feat(steveej-x13s and treewide): get most recent libcamera with fixes

This commit is contained in:
steveej 2024-11-02 22:48:20 +01:00
parent 9d2311bcac
commit c8509fbf7b
13 changed files with 308 additions and 271 deletions

View file

@ -50,6 +50,17 @@ in {
"electron-27.3.11"
];
nixpkgs.config.allowUnfree = [
"electron-28.3.3"
"electron-27.3.11"
];
# nixpkgs.config.allowUnfreePredicate = pkg:
# builtins.elem (lib.getName pkg) [
# "smartgithg"
# "electron-27.3.11"
# ];
home.packages =
[]
++ (with pkgs; [
@ -109,7 +120,7 @@ in {
aspellDicts.de
# skypeforlinux
# pkgsUnstable.jitsi-meet-electron
thunderbird-115
thunderbird-128
# betterbird
# FIXME: depends on insecure openssl 1.1.1t
@ -118,8 +129,6 @@ in {
# TODO: remove or reuse this depending on whether waydroid signal works
pkgsUnstable.signal-desktop
# gnome.cheese
# Virtualization
virt-manager
@ -136,6 +145,8 @@ in {
yt-dlp
(writeShellScriptBin "youtube-dl-audio" "${yt-dlp}/bin/yt-dlp --extract-audio --audio-format best --audio-quality 9 \${@:?}")
libwebcam
libcamera
snapshot
# Network Tools
tcpdump
@ -200,7 +211,7 @@ in {
# dex
coreutils
lsof
xdg_utils
xdg-utils
xdg-user-dirs
dconf
picocom
@ -229,14 +240,26 @@ in {
# libretro.snes9x2010
# retroarchFull
packages'.logseq
# (pkgs.runCommand "logseq-wrapper"
# {
# nativeBuildInputs = [ pkgs.makeWrapper ];
# } ''
# makeWrapper ${pkgs.logseq}/bin/logseq $out/bin/logseq \
# --set NIXOS_OZONE_WL ""
# '')
(
pkgs.logseq.overrideAttrs (
attrs:
lib.attrsets.recursiveUpdate
attrs
(
lib.attrsets.optionalAttrs pkgs.stdenv.isAarch64 {
src = repoFlake.inputs.logseq_0_10_9_aarch64_appimage;
meta.platforms = ["aarch64-linux"];
}
)
)
)
# (
# pkgsUnstable.callPackage (repoFlake + "/nix/pkgs/logseq")
# (lib.attrsets.optionalAttrs pkgs.stdenv.isAarch64 {
# overrideSrc = repoFlake.inputs.logseq_0_10_9_aarch64_appimage;
# })
# )
])
++ (lib.lists.optionals (!pkgs.stdenv.targetPlatform.isAarch64) [
])