fix: shoukei - filter packages that do not support aarch64

This commit is contained in:
Ryan Yin
2025-07-13 02:47:04 +08:00
parent ae0158b226
commit 50451d9da9
7 changed files with 15 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ in {
programs.nushell = {
enable = true;
package = pkgs-unstable.nushell;
# package = pkgs-unstable.nushell;
configFile.source = ./config.nu;
inherit shellAliases;
};

View File

@@ -26,7 +26,7 @@
{
programs.alacritty = {
enable = true;
package = pkgs-unstable.alacritty;
# package = pkgs-unstable.alacritty;
# https://alacritty.org/config-alacritty.html
settings = {
window = {

View File

@@ -18,8 +18,8 @@
colmena # nixos's remote deployment tool
# db related
pkgs-unstable.mycli
pkgs-unstable.pgcli
mycli
pgcli
mongosh
sqlite
@@ -27,10 +27,10 @@
minicom
# ai related
pkgs-unstable.python313Packages.huggingface-hub # huggingface-cli
python313Packages.huggingface-hub # huggingface-cli
# misc
pkgs-unstable.devbox
devbox
bfg-repo-cleaner # remove large files from git history
k6 # load testing tool
protobuf # protocol buffer compiler

View File

@@ -5,7 +5,7 @@
}: {
home.packages = with pkgs; [
age
pkgs-unstable.sops
sops
rclone
];
}

View File

@@ -22,19 +22,19 @@
# 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` / ...
]
++ (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
# fpga
python313Packages.apycula # gowin fpga
yosys # fpga synthesis
nextpnr # fpga place and route
openfpgaloader # fpga programming
# nur-ryan4yin.packages.${pkgs.system}.gowin-eda-edu-ide # app: `gowin-env` => `gw_ide` / `gw_pack` / ...
]);
programs = {

View File

@@ -10,7 +10,7 @@
# add user's shell into /etc/shells
environment.shells = with pkgs; [
bashInteractive
pkgs-unstable.nushell
nushell
];
# set user's default shell system-wide
users.defaultUserShell = pkgs.bashInteractive;

View File

@@ -8,6 +8,5 @@
environment.systemPackages = with pkgs; [
waypipe
moonlight-qt # moonlight client, for streaming games/desktop from a PC
rustdesk # p2p remote desktop
];
}