fix: shoukei - filter packages that do not support aarch64

This commit is contained in:
Ryan Yin
2025-07-13 02:17:12 +08:00
parent 264611e334
commit 710ddc3263
5 changed files with 92 additions and 79 deletions

View File

@@ -3,17 +3,20 @@
nur-ryan4yin,
...
}: {
home.packages = with pkgs; [
mitmproxy # http/https proxy tool
insomnia # REST client
wireshark # network analyzer
home.packages = with pkgs;
[
mitmproxy # http/https proxy tool
wireshark # network analyzer
# IDEs
# jetbrains.idea-community
# IDEs
# jetbrains.idea-community
# AI cli tools
nur-ryan4yin.packages.${pkgs.system}.gemini-cli
k8sgpt
kubectl-ai # an ai helper opensourced by google
];
# AI cli tools
nur-ryan4yin.packages.${pkgs.system}.gemini-cli
k8sgpt
kubectl-ai # an ai helper opensourced by google
]
++ (lib.optionals pkgs.stdenv.isx86_64 [
insomnia # REST client
]);
}

View File

@@ -1,4 +1,5 @@
{
lib,
pkgs,
pkgs-unstable,
# pkgs-stable,
@@ -6,62 +7,69 @@
blender-bin,
...
}: {
home.packages = with pkgs; [
# creative
# https://github.com/edolstra/nix-warez/blob/master/blender/flake.nix
blender-bin.packages.${pkgs.system}.blender_4_2 # 3d modeling
# gimp # image editing, I prefer using figma in browser instead of this one
inkscape # vector graphics
krita # digital painting
musescore # music notation
# reaper # audio production
# sonic-pi # music programming
home.packages = with pkgs;
[
# creative
# gimp # image editing, I prefer using figma in browser instead of this one
inkscape # vector graphics
krita # digital painting
musescore # music notation
# reaper # audio production
# sonic-pi # music programming
# 2d game design
ldtk # A modern, versatile 2D level editor
# aseprite # Animated sprite editor & pixel art tool
# 2d game design
# aseprite # Animated sprite editor & pixel art tool
# this app consumes a lot of storage, so do not install it currently
# kicad # 3d printing, eletrical engineering
# this app consumes a lot of storage, so do not install it currently
# kicad # 3d printing, eletrical engineering
# fpga
pkgs-unstable.python313Packages.apycula # gowin fpga
pkgs-unstable.yosys # fpga synthesis
pkgs-unstable.nextpnr # fpga place and route
pkgs-unstable.openfpgaloader # fpga programming
# nur-ryan4yin.packages.${pkgs.system}.gowin-eda-edu-ide # app: `gowin-env` => `gw_ide` / `gw_pack` / ...
];
# fpga
pkgs-unstable.python313Packages.apycula # gowin fpga
pkgs-unstable.yosys # fpga synthesis
pkgs-unstable.nextpnr # fpga place and route
pkgs-unstable.openfpgaloader # fpga programming
# nur-ryan4yin.packages.${pkgs.system}.gowin-eda-edu-ide # app: `gowin-env` => `gw_ide` / `gw_pack` / ...
]
++ (lib.optionals pkgs.stdenv.isx86_64 [
# https://github.com/edolstra/nix-warez/blob/master/blender/flake.nix
blender-bin.packages.${pkgs.system}.blender_4_2 # 3d modeling
ldtk # A modern, versatile 2D level editor
]);
programs = {
# live streaming
obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
# screen capture
wlrobs
# obs-ndi
obs-vaapi
# obs-nvfbc
obs-teleport
# obs-hyperion
droidcam-obs
obs-vkcapture
obs-gstreamer
obs-3d-effect
input-overlay
obs-multi-rtmp
obs-source-clone
obs-shaderfilter
obs-source-record
obs-livesplit-one
looking-glass-obs
obs-vintage-filter
obs-command-source
obs-move-transition
obs-backgroundremoval
# advanced-scene-switcher
obs-pipewire-audio-capture
];
enable = pkgs.stdenv.isx86_64;
plugins = with pkgs.obs-studio-plugins;
[
# screen capture
wlrobs
# obs-ndi
# obs-nvfbc
obs-teleport
# obs-hyperion
droidcam-obs
obs-vkcapture
obs-gstreamer
input-overlay
obs-multi-rtmp
obs-source-clone
obs-shaderfilter
obs-source-record
obs-livesplit-one
looking-glass-obs
obs-vintage-filter
obs-command-source
obs-move-transition
obs-backgroundremoval
# advanced-scene-switcher
obs-pipewire-audio-capture
]
++ (lib.optionals pkgs.stdenv.isx86_64 [
obs-vaapi
obs-3d-effect
]);
};
};
}

View File

@@ -6,22 +6,24 @@
}:
# media - control and enjoy audio/video
{
home.packages = with pkgs; [
# audio control
pavucontrol
playerctl
pulsemixer
imv # simple image viewer
home.packages = with pkgs;
[
# audio control
pavucontrol
playerctl
pulsemixer
imv # simple image viewer
# video/audio tools
libva-utils
vdpauinfo
vulkan-tools
glxinfo
nvitop
(zoom-us.override {hyprlandXdgDesktopPortalSupport = true;})
];
# video/audio tools
libva-utils
vdpauinfo
vulkan-tools
glxinfo
nvitop
]
++ (lib.optionals pkgs.stdenv.isx86_64 [
(zoom-us.override {hyprlandXdgDesktopPortalSupport = true;})
]);
programs.mpv = {
enable = true;

View File

@@ -1,7 +1,7 @@
{pkgs-stable, ...}: {
home.packages = with pkgs-stable; [
{pkgs, ...}: {
home.packages = with pkgs; (lib.optionals pkgs.stdenv.isx86_64 [
# https://joplinapp.org/help/
joplin # joplin-cli
joplin-desktop
];
]);
}

View File

@@ -12,7 +12,7 @@
programs = {
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
google-chrome = {
enable = true;
enable = pkgs.stdenv.isx86_64;
package = pkgs-stable.google-chrome;
# https://wiki.archlinux.org/title/Chromium#Native_Wayland_support