mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
fix: shoukei - filter packages that do not support aarch64
This commit is contained in:
@@ -19,7 +19,7 @@ in {
|
|||||||
|
|
||||||
programs.nushell = {
|
programs.nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.nushell;
|
# package = pkgs-unstable.nushell;
|
||||||
configFile.source = ./config.nu;
|
configFile.source = ./config.nu;
|
||||||
inherit shellAliases;
|
inherit shellAliases;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.alacritty;
|
# package = pkgs-unstable.alacritty;
|
||||||
# https://alacritty.org/config-alacritty.html
|
# https://alacritty.org/config-alacritty.html
|
||||||
settings = {
|
settings = {
|
||||||
window = {
|
window = {
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
colmena # nixos's remote deployment tool
|
colmena # nixos's remote deployment tool
|
||||||
|
|
||||||
# db related
|
# db related
|
||||||
pkgs-unstable.mycli
|
mycli
|
||||||
pkgs-unstable.pgcli
|
pgcli
|
||||||
mongosh
|
mongosh
|
||||||
sqlite
|
sqlite
|
||||||
|
|
||||||
@@ -27,10 +27,10 @@
|
|||||||
minicom
|
minicom
|
||||||
|
|
||||||
# ai related
|
# ai related
|
||||||
pkgs-unstable.python313Packages.huggingface-hub # huggingface-cli
|
python313Packages.huggingface-hub # huggingface-cli
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
pkgs-unstable.devbox
|
devbox
|
||||||
bfg-repo-cleaner # remove large files from git history
|
bfg-repo-cleaner # remove large files from git history
|
||||||
k6 # load testing tool
|
k6 # load testing tool
|
||||||
protobuf # protocol buffer compiler
|
protobuf # protocol buffer compiler
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
}: {
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
age
|
age
|
||||||
pkgs-unstable.sops
|
sops
|
||||||
rclone
|
rclone
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,19 +22,19 @@
|
|||||||
|
|
||||||
# this app consumes a lot of storage, so do not install it currently
|
# this app consumes a lot of storage, so do not install it currently
|
||||||
# kicad # 3d printing, eletrical engineering
|
# 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 [
|
++ (lib.optionals pkgs.stdenv.isx86_64 [
|
||||||
# https://github.com/edolstra/nix-warez/blob/master/blender/flake.nix
|
# https://github.com/edolstra/nix-warez/blob/master/blender/flake.nix
|
||||||
blender-bin.packages.${pkgs.system}.blender_4_2 # 3d modeling
|
blender-bin.packages.${pkgs.system}.blender_4_2 # 3d modeling
|
||||||
|
|
||||||
ldtk # A modern, versatile 2D level editor
|
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 = {
|
programs = {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# add user's shell into /etc/shells
|
# add user's shell into /etc/shells
|
||||||
environment.shells = with pkgs; [
|
environment.shells = with pkgs; [
|
||||||
bashInteractive
|
bashInteractive
|
||||||
pkgs-unstable.nushell
|
nushell
|
||||||
];
|
];
|
||||||
# set user's default shell system-wide
|
# set user's default shell system-wide
|
||||||
users.defaultUserShell = pkgs.bashInteractive;
|
users.defaultUserShell = pkgs.bashInteractive;
|
||||||
|
|||||||
@@ -8,6 +8,5 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
waypipe
|
waypipe
|
||||||
moonlight-qt # moonlight client, for streaming games/desktop from a PC
|
moonlight-qt # moonlight client, for streaming games/desktop from a PC
|
||||||
rustdesk # p2p remote desktop
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user