feat: add gemini-cli

This commit is contained in:
Ryan Yin
2025-06-27 00:02:08 +08:00
parent 623e697343
commit cc0b099d63
3 changed files with 17 additions and 22 deletions

26
flake.lock generated
View File

@@ -782,22 +782,6 @@
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz" "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz"
} }
}, },
"nixpkgs_6": {
"locked": {
"lastModified": 1747610100,
"narHash": "sha256-rpR5ZPMkWzcnCcYYo3lScqfuzEw5Uyfh+R0EKZfroAc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ca49c4304acf0973078db0a9d200fd2bae75676d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nuenv": { "nuenv": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
@@ -819,14 +803,16 @@
}, },
"nur-ryan4yin": { "nur-ryan4yin": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_6" "nixpkgs": [
"nixpkgs"
]
}, },
"locked": { "locked": {
"lastModified": 1750521085, "lastModified": 1750953617,
"narHash": "sha256-LUFa9qQ6q6xjvMY+e3S8y0OgBW18T2qvFCJzwXJme9U=", "narHash": "sha256-gLWXbnpSphF8A36P3JjZcq0pY14Klv1REGC8AMb4F6c=",
"owner": "ryan4yin", "owner": "ryan4yin",
"repo": "nur-packages", "repo": "nur-packages",
"rev": "3774a59e8ff3ecc620fbc133af7f41c82d302e6b", "rev": "9fc62fad8a0c17f33d6edadc9fd96584ac99b323",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -143,7 +143,10 @@
flake = false; flake = false;
}; };
nur-ryan4yin.url = "github:ryan4yin/nur-packages"; nur-ryan4yin = {
url = "github:ryan4yin/nur-packages";
inputs.nixpkgs.follows = "nixpkgs";
};
# for waydroid # for waydroid
# nur-ataraxiasjel.url = "github:AtaraxiaSjel/nur"; # nur-ataraxiasjel.url = "github:AtaraxiaSjel/nur";

View File

@@ -1,4 +1,8 @@
{pkgs, ...}: { {
pkgs,
nur-ryan4yin,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
mitmproxy # http/https proxy tool mitmproxy # http/https proxy tool
insomnia # REST client insomnia # REST client
@@ -6,5 +10,7 @@
# IDEs # IDEs
# jetbrains.idea-community # jetbrains.idea-community
nur-ryan4yin.packages.${pkgs.system}.gemini-cli
]; ];
} }