fix: address nixpkgs rename/deprecation warnings

This commit is contained in:
Ryan Yin committed 2026-09-20 22:42:06 +08:00
1 parent 0802b5a3d1
commit 54016a9da2
3 files changed
+45 -32

No files matched your search

+11 -2
View File
@@ -1,4 +1,9 @@
{ pkgs, llm-agents, ... }:
{
pkgs,
lib,
llm-agents,
...
}:
let
agentPackages = llm-agents.packages.${pkgs.stdenv.hostPlatform.system};
in
@@ -6,9 +11,13 @@ in
home.packages =
with pkgs;
[
qrtool # decode/encode qr code
]
# mitmproxy & wireshark don't build on darwin
# (removed there, see modules/darwin/broken-packages.nix)
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
mitmproxy # http/https proxy tool
wireshark # network analyzer
qrtool # decode/encode qr code
]
# AI Agent Tools
++ [
+33 -29
View File
@@ -1,5 +1,6 @@
{
pkgs,
lib,
...
}:
{
@@ -14,42 +15,45 @@
#
#############################################################
home.packages = with pkgs; [
colmena # nixos's remote deployment tool
home.packages =
with pkgs;
[
colmena # nixos's remote deployment tool
tokei # count lines of code, alternative to cloc
tokei # count lines of code, alternative to cloc
# db related
# mycli
pgcli
mongosh
sqlite
# db related
# mycli
pgcli
mongosh
sqlite
# embedded development
minicom
# embedded development
minicom
# ai related
python313Packages.huggingface-hub # huggingface-cli
yt-dlp # youtube/bilibili/soundcloud/... video/music downloader
# ai related
python313Packages.huggingface-hub # huggingface-cli
yt-dlp # youtube/bilibili/soundcloud/... video/music downloader
# misc
devbox
bfg-repo-cleaner # remove large files from git history
k6 # load testing tool
# misc
devbox
bfg-repo-cleaner # remove large files from git history
k6 # load testing tool
# solve coding extercises - learn by doing
exercism
# solve coding extercises - learn by doing
exercism
# Automatically trims your branches whose tracking remote refs are merged or gone
# It's really useful when you work on a project for a long time.
git-trim
gitleaks
# need to run `conda-install` before using it
# need to run `conda-shell` before using command `conda`
# conda is not available for MacOS
conda
];
# Automatically trims your branches whose tracking remote refs are merged or gone
# It's really useful when you work on a project for a long time.
git-trim
gitleaks
]
# conda is not available on macOS
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
# need to run `conda-install` before using it
# need to run `conda-shell` before using command `conda`
conda
];
programs = {
direnv = {