install llm-agents from daily updating flake
Some checks failed
Build Images / build (push) Successful in 1m18s
Check / check (push) Failing after 2m29s

This commit is contained in:
Joakim Repomaa
2026-05-29 19:19:41 +03:00
parent e58500f6d1
commit 0e664c51f5
3 changed files with 246 additions and 95 deletions

153
flake.lock generated
View File

@@ -23,6 +23,64 @@
"type": "github" "type": "github"
} }
}, },
"blueprint": {
"inputs": {
"nixpkgs": [
"llm-agents",
"nixpkgs"
],
"systems": [
"llm-agents",
"systems"
]
},
"locked": {
"lastModified": 1776249299,
"narHash": "sha256-Dt9t1TGRmJFc0xVYhttNBD6QsAgHOHCArqGa0AyjrJY=",
"owner": "numtide",
"repo": "blueprint",
"rev": "56131e8628f173d24a27f6d27c0215eff57e40dd",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "blueprint",
"type": "github"
}
},
"bun2nix": {
"inputs": {
"flake-parts": [
"llm-agents",
"flake-parts"
],
"nixpkgs": [
"llm-agents",
"nixpkgs"
],
"systems": [
"llm-agents",
"systems"
],
"treefmt-nix": [
"llm-agents",
"treefmt-nix"
]
},
"locked": {
"lastModified": 1778446047,
"narHash": "sha256-oQvcadh2BCkrog+SGrG6YffKJrveYpjj3TdQJWaKhaM=",
"owner": "nix-community",
"repo": "bun2nix",
"rev": "f2bc12af1a6369648aac41041ceeaa0b866599c6",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "bun2nix",
"type": "github"
}
},
"colmena": { "colmena": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@@ -186,6 +244,27 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"llm-agents",
"nixpkgs"
]
},
"locked": {
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1659877975, "lastModified": 1659877975,
@@ -257,7 +336,7 @@
}, },
"flake-utils_5": { "flake-utils_5": {
"inputs": { "inputs": {
"systems": "systems_6" "systems": "systems_7"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -275,7 +354,7 @@
}, },
"flake-utils_6": { "flake-utils_6": {
"inputs": { "inputs": {
"systems": "systems_7" "systems": "systems_8"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -478,6 +557,31 @@
"type": "github" "type": "github"
} }
}, },
"llm-agents": {
"inputs": {
"blueprint": "blueprint",
"bun2nix": "bun2nix",
"flake-parts": "flake-parts_4",
"nixpkgs": [
"nixpkgs-unstable"
],
"systems": "systems_5",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1780050433,
"narHash": "sha256-90mQY7VUvn6WoNh+m4LSqS+XTcofWOBLgYYmSJVyr98=",
"owner": "numtide",
"repo": "llm-agents.nix",
"rev": "0fb42103f93cd5c1152254856d7eccb3e91c8bf6",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "llm-agents.nix",
"type": "github"
}
},
"models-dev": { "models-dev": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -756,8 +860,8 @@
"noctalia", "noctalia",
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_5", "systems": "systems_6",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix_2"
}, },
"locked": { "locked": {
"lastModified": 1779588472, "lastModified": 1779588472,
@@ -827,6 +931,7 @@
"ketchup": "ketchup", "ketchup": "ketchup",
"ksoloti-pr": "ksoloti-pr", "ksoloti-pr": "ksoloti-pr",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"llm-agents": "llm-agents",
"models-dev": "models-dev", "models-dev": "models-dev",
"niri-flake": "niri-flake", "niri-flake": "niri-flake",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
@@ -957,6 +1062,21 @@
} }
}, },
"systems_5": { "systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_6": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@@ -971,7 +1091,7 @@
"type": "github" "type": "github"
} }
}, },
"systems_6": { "systems_7": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -986,7 +1106,7 @@
"type": "github" "type": "github"
} }
}, },
"systems_7": { "systems_8": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -1041,6 +1161,27 @@
} }
}, },
"treefmt-nix": { "treefmt-nix": {
"inputs": {
"nixpkgs": [
"llm-agents",
"nixpkgs"
]
},
"locked": {
"lastModified": 1775636079,
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_2": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"noctalia", "noctalia",

View File

@@ -83,6 +83,10 @@
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
llm-agents = {
url = "github:numtide/llm-agents.nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
}; };
outputs = outputs =
{ {

View File

@@ -46,97 +46,103 @@ in
# release notes. # release notes.
home.stateVersion = "23.11"; # Please read the comment before changing. home.stateVersion = "23.11"; # Please read the comment before changing.
home.packages = with pkgs; [ home.packages =
atool with pkgs;
unzip [
htop atool
gnupg unzip
pkgs-unstable.yubioath-flutter htop
pkgs-unstable.yubikey-manager gnupg
gcc pkgs-unstable.yubioath-flutter
sqlite pkgs-unstable.yubikey-manager
noto-fonts gcc
noto-fonts-cjk-sans sqlite
noto-fonts-color-emoji noto-fonts
source-sans-pro noto-fonts-cjk-sans
mosh noto-fonts-color-emoji
docker-compose source-sans-pro
(signal-desktop.override { mosh
commandLineArgs = "--password-store=gnome-libsecret"; docker-compose
}) (signal-desktop.override {
cargo commandLineArgs = "--password-store=gnome-libsecret";
blanket })
wl-clipboard cargo
gnumeric blanket
gh wl-clipboard
neovim-remote gnumeric
pkgs-unstable.gradia gh
crystal neovim-remote
shards pkgs-unstable.gradia
moreutils crystal
keymapp shards
gnumake moreutils
tig keymapp
jq gnumake
yt-dlp tig
ffmpeg jq
otp yt-dlp
manix ffmpeg
(writeShellScriptBin "fd" '' otp
${fd}/bin/fd -H "$@" manix
'') (writeShellScriptBin "fd" ''
pkgs-unstable.rpi-imager ${fd}/bin/fd -H "$@"
picocom '')
imagemagick pkgs-unstable.rpi-imager
ghostscript picocom
inkscape imagemagick
jless ghostscript
scribus inkscape
dnscontrol jless
protonmail-bridge scribus
hydroxide dnscontrol
imapsync protonmail-bridge
nixfmt-rfc-style hydroxide
tree imapsync
virt-manager nixfmt-rfc-style
pkgs-unstable.ncspot tree
pkgs-unstable.devbox virt-manager
pkgs-unstable.feishin pkgs-unstable.ncspot
openscad pkgs-unstable.devbox
pkgs-unstable.shairport-sync-airplay2 pkgs-unstable.feishin
(writeShellScriptBin "pw" '' openscad
${lib.getExe rbw} ls --fields 'id,folder,name' | \ pkgs-unstable.shairport-sync-airplay2
${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \ (writeShellScriptBin "pw" ''
${lib.getExe config.services.walker.package} -d -l 2 | \ ${lib.getExe rbw} ls --fields 'id,folder,name' | \
xargs ${lib.getExe rbw} get "$@" | ${lib.getExe' wl-clipboard "wl-copy"} ${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \
'') ${lib.getExe config.services.walker.package} -d -l 2 | \
(google-fonts.override { fonts = [ "Tajawal" ]; }) xargs ${lib.getExe rbw} get "$@" | ${lib.getExe' wl-clipboard "wl-copy"}
pkgs-unstable.opencode '')
(writeShellScriptBin "nr" '' (google-fonts.override { fonts = [ "Tajawal" ]; })
${lib.getExe nix} run "nixpkgs#''${1}" "$@" (writeShellScriptBin "nr" ''
'') ${lib.getExe nix} run "nixpkgs#''${1}" "$@"
blueman '')
pavucontrol blueman
(writeShellScriptBin "voxtoggle" '' pavucontrol
status=$(${lib.getExe config.programs.voxtype.package} status) (writeShellScriptBin "voxtoggle" ''
pid=$(cat ''${XDG_RUNTIME_DIR}/voxtype/pid) status=$(${lib.getExe config.programs.voxtype.package} status)
pid=$(cat ''${XDG_RUNTIME_DIR}/voxtype/pid)
if [[ "$status" == "stopped" ]]; then if [[ "$status" == "stopped" ]]; then
exit 1 exit 1
elif [[ "$status" == "recording" ]]; then elif [[ "$status" == "recording" ]]; then
kill -SIGUSR2 "$pid" kill -SIGUSR2 "$pid"
else else
kill -SIGUSR1 "$pid" kill -SIGUSR1 "$pid"
fi fi
'') '')
(writeShellScriptBin "scrot" '' (writeShellScriptBin "scrot" ''
set -eo pipefail set -eo pipefail
${lib.getExe grim} -t ppm -g "$(${lib.getExe slurp} -o -d -F monospace)" - | ${lib.getExe gradia} ${lib.getExe grim} -t ppm -g "$(${lib.getExe slurp} -o -d -F monospace)" - | ${lib.getExe gradia}
'') '')
inputs.tree_hugger.packages.${stdenv.hostPlatform.system}.default inputs.tree_hugger.packages.${stdenv.hostPlatform.system}.default
(writeShellScriptBin "ns" "${lib.join " " (ns-ipc [ ''"$@"'' ])}") (writeShellScriptBin "ns" "${lib.join " " (ns-ipc [ ''"$@"'' ])}")
]; ]
++ (with inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [
pi
opencode
crush
]);
programs = { programs = {
noctalia-shell = { noctalia-shell = {