NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: get Gemini + Copilot CLI rolling, among other GenAI tools via llm-agents.nix flake

Signed-off-by: ajhalili2006 <ajhalili2006@gmail.com>

+87 -10
+65 -6
flake.nix
··· 1 1 { 2 2 description = "Andrei Jiroh's NixOS and home-manager configurations (AKA declarative dotfiles)"; 3 + nixConfig = { 4 + extra-trusted-public-keys = [ 5 + # cache.nixos.org 6 + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" 7 + 8 + # cache.flakehub.com 9 + "cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM=" 10 + "cache.flakehub.com-4:Asi8qIv291s0aYLyH6IOnr5Kf6+OF14WVjkE6t3xMio=" 11 + "cache.flakehub.com-5:zB96CRlL7tiPtzA9/WKyPkp3A2vqxqgdgyTVNGShPDU=" 12 + "cache.flakehub.com-6:W4EGFwAGgBj3he7c5fNh9NkOXw0PUVaxygCVKeuvaqU=" 13 + "cache.flakehub.com-7:mvxJ2DZVHn/kRxlIaxYNMuDG1OvMckZu32um1TadOR8=" 14 + "cache.flakehub.com-8:moO+OVS0mnTjBTcOUh2kYLQEd59ExzyoW1QgQ8XAARQ=" 15 + "cache.flakehub.com-9:wChaSeTI6TeCuV/Sg2513ZIM9i0qJaYsF+lZCXg0J6o=" 16 + "cache.flakehub.com-10:2GqeNlIp6AKp4EF2MVbE1kBOp9iBSyo0UPR9KoR0o1Y=" 17 + 18 + # nix-community 19 + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" 20 + 21 + # devenv.sh 22 + "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" 23 + 24 + # my caches for nixos and nixpkgs related builds (including devenvs) 25 + "ajhalili2006-nixos-builds.cachix.org-1:fA8HXvGR1i792D+CxL2iW/TQzUcyoW7zPUmC9Q4mQLg=" 26 + 27 + # the main cache itself 28 + "andreijiroh-dev.cachix.org-1:7Jd0STdBOLiNu5fiA+AKwcMqQD2PA1j9zLDGyDkuyBo=" 29 + 30 + # recaptime.dev cache 31 + "recaptime-dev.cachix.org-1:b0UBO1zONf6ceTIoR06AKhgid4ZOl5kxB/gOIdZ9J6g=" 32 + 33 + # numtide 34 + "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" 35 + ]; 36 + 37 + # also list them all too 38 + extra-trusted-substituters = [ 39 + "https://cache.nixos.org" 40 + "https://cache.flakehub.com" 41 + "https://nix-community.cachix.org" 42 + "https://devenv.cachix.org" 43 + "https://andreijiroh-dev.cachix.org" 44 + "https://ajhalili2006-nixos-builds.cachix.org" 45 + "https://recaptime-dev.cachix.org" 46 + "https://cache.numtide.com" 47 + ]; 48 + }; 3 49 4 50 # try to be in-sync with the nix-channels 5 51 inputs = { ··· 91 137 }; 92 138 }; 93 139 140 + llm-agents = { 141 + url = "github:numtide/llm-agents.nix"; 142 + inputs.nixpkgs.follows = "nixpkgs"; 143 + }; 94 144 }; 95 145 outputs = 96 146 inputs@{ ··· 111 161 agenix, 112 162 agenix-rekey, 113 163 chaotic, 164 + llm-agents, 114 165 }: 115 166 let 116 167 dev-pkgs = import ./pkgs; ··· 197 248 ( 198 249 { ... }: 199 250 { 200 - _module.args = { inherit self nix4vscode; }; 251 + _module.args = { inherit self nix4vscode llm-agents; }; 201 252 } 202 253 ) 203 254 # nix flake modules first ··· 223 274 ( 224 275 { ... }: 225 276 { 226 - _module.args = { inherit self nix4vscode; }; 277 + _module.args = { inherit self nix4vscode llm-agents; }; 227 278 } 228 279 ) 229 280 # nix flake modules first ··· 248 299 ( 249 300 { ... }: 250 301 { 251 - _module.args = { inherit self nix4vscode; }; 302 + _module.args = { inherit self nix4vscode llm-agents; }; 252 303 } 253 304 ) 254 305 # nix flake modules first ··· 276 327 ( 277 328 { ... }: 278 329 { 279 - _module.args = { inherit self nix4vscode; }; 330 + _module.args = { inherit self nix4vscode llm-agents; }; 280 331 } 281 332 ) 282 333 nix-ld.nixosModules.nix-ld ··· 293 344 nix4vscode 294 345 self 295 346 chaotic 347 + llm-agents 296 348 ; 297 349 }; 298 350 }; ··· 303 355 ( 304 356 { ... }: 305 357 { 306 - _module.args = { inherit self nix4vscode; }; 358 + _module.args = { inherit self nix4vscode llm-agents; }; 307 359 } 308 360 ) 309 361 nix-ld.nixosModules.nix-ld ··· 320 372 self 321 373 chaotic 322 374 nixpkgs 375 + llm-agents 323 376 ; 324 377 }; 325 378 }; ··· 330 383 ( 331 384 { ... }: 332 385 { 333 - _module.args = { inherit self nix4vscode; }; 386 + _module.args = { inherit self nix4vscode llm-agents; }; 334 387 } 335 388 ) 336 389 nix-ld.nixosModules.nix-ld ··· 347 400 self 348 401 chaotic 349 402 nixpkgs 403 + llm-agents 350 404 ; 351 405 }; 352 406 }; ··· 367 421 zen-browser 368 422 nix4vscode 369 423 chaotic 424 + llm-agents 370 425 ; 371 426 }; 372 427 modules = [ ··· 409 464 zen-browser 410 465 nix4vscode 411 466 chaotic 467 + llm-agents 412 468 ; 413 469 }; 414 470 modules = [ ··· 417 473 overlays = [ 418 474 self.overlays.default 419 475 nix4vscode.overlays.default 476 + llm-agents.overlays.default 420 477 ]; 421 478 config = { 422 479 allowUnfree = true; ··· 449 506 zen-browser 450 507 nix4vscode 451 508 chaotic 509 + llm-agents 452 510 ; 453 511 }; 454 512 modules = [ ··· 457 515 overlays = [ 458 516 self.overlays.default 459 517 nix4vscode.overlays.default 518 + llm-agents.overlays.default 460 519 ]; 461 520 config = { 462 521 allowUnfree = true;
+8 -4
shared/home-manager/packages.nix
··· 25 25 gh 26 26 glab 27 27 forgejo-cli 28 - # bet we'll going to have a field day since Copilot is now available for free 29 - # (this is seperate from the gh copilot extension for those asking) 30 - # context: https://github.blog/news-insights/product-news/github-copilot-in-vscode-free/ 31 - gh-copilot 32 28 # markdownlint 33 29 markdownlint-cli 34 30 # https://doppler.com ··· 88 84 yt-dlp 89 85 twitch-dl 90 86 twitch-chat-downloader 87 + 88 + # gen ai tools 89 + llm-agents.gemini-cli 90 + llm-agents.copilot-cli 91 + llm-agents.amp 92 + llm-agents.agent-deck 93 + llm-agents.backlog-md 94 + llm-agents.coderabbit-cli 91 95 ]; 92 96 93 97 programs.bashmount = {
+6
shared/nix.nix
··· 7 7 lib, 8 8 self, 9 9 nix4vscode, 10 + llm-agents 10 11 ... 11 12 }: 12 13 ··· 22 23 overlays = [ 23 24 self.overlays.default 24 25 nix4vscode.overlays.default 26 + llm-agents.overlays.default 25 27 ]; 26 28 }; 27 29 ··· 103 105 104 106 # recaptime.dev cache 105 107 "recaptime-dev.cachix.org-1:b0UBO1zONf6ceTIoR06AKhgid4ZOl5kxB/gOIdZ9J6g=" 108 + 109 + # numtide 110 + "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" 106 111 ]; 107 112 108 113 # also list them all too ··· 114 119 "https://andreijiroh-dev.cachix.org" 115 120 "https://ajhalili2006-nixos-builds.cachix.org" 116 121 "https://recaptime-dev.cachix.org" 122 + "https://cache.numtide.com" 117 123 ]; 118 124 }; 119 125 };
+8
shared/server/devenv.nix
··· 26 26 wakatime-cli 27 27 doppler 28 28 #dotenvx 29 + 30 + # genai tools 31 + llm-agents.gemini-cli 32 + llm-agents.copilot-cli 33 + llm-agents.amp 34 + llm-agents.agent-deck 35 + llm-agents.backlog-md 36 + llm-agents.coderabbit-cli 29 37 ]; 30 38 31 39 virtualisation = {