-
Notifications
You must be signed in to change notification settings - Fork 0
chore: use nixpkgs master for ai tools #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9400842
44fc225
26f7aa9
8462997
75e4871
7a2bd7c
f4715c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { config, ... }: | ||
| { | ||
| home.file.".serena/serena_config.yml" = { | ||
| source = ./serena_config.yml; | ||
| text = builtins.readFile ./serena_config.yml; | ||
| force = true; | ||
| }; | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -123,6 +123,7 @@ with pkgs; | |
| chromium | ||
| clickup | ||
| cliphist | ||
| code-cursor | ||
|
||
| discord | ||
| evince | ||
| ffmpeg | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -32,4 +32,14 @@ | |||||||||||||||||||||||||||||||||||||||||||||
| ''; | ||||||||||||||||||||||||||||||||||||||||||||||
| }); | ||||||||||||||||||||||||||||||||||||||||||||||
| }) | ||||||||||||||||||||||||||||||||||||||||||||||
| (final: prev: { | ||||||||||||||||||||||||||||||||||||||||||||||
| nightlyPkgs = import inputs.nixpkgs-nightly { | ||||||||||||||||||||||||||||||||||||||||||||||
| system = prev.system; | ||||||||||||||||||||||||||||||||||||||||||||||
| config = prev.config; | ||||||||||||||||||||||||||||||||||||||||||||||
| overlays = [ ]; | ||||||||||||||||||||||||||||||||||||||||||||||
| }; | ||||||||||||||||||||||||||||||||||||||||||||||
| codex = final.nightlyPkgs.codex; | ||||||||||||||||||||||||||||||||||||||||||||||
| claude-code = final.nightlyPkgs.claude-code; | ||||||||||||||||||||||||||||||||||||||||||||||
| opencode = final.nightlyPkgs.opencode; | ||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+41
to
+43
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||
| }) | ||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+35
to
+44
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This overlay implementation adds Additionally, for consistency with the PR's goal of using
Comment on lines
+35
to
+44
|
||||||||||||||||||||||||||||||||||||||||||||||
| (final: prev: { | |
| nightlyPkgs = import inputs.nixpkgs-nightly { | |
| system = prev.system; | |
| config = prev.config; | |
| overlays = [ ]; | |
| }; | |
| codex = final.nightlyPkgs.codex; | |
| claude-code = final.nightlyPkgs.claude-code; | |
| opencode = final.nightlyPkgs.opencode; | |
| }) | |
| (final: prev: | |
| let | |
| nightlyPkgs = import inputs.nixpkgs-nightly { | |
| system = prev.system; | |
| config = prev.config; | |
| overlays = [ ]; | |
| }; | |
| in { | |
| codex = nightlyPkgs.codex; | |
| claude-code = nightlyPkgs.claude-code; | |
| opencode = nightlyPkgs.opencode; | |
| }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration fetches
nixpkgs-nightlydirectly from themasterbranch. Themasterbranch is a development branch and can receive frequent, less-vetted updates, including potentially vulnerable or unstable code. While Nix flakes pin dependencies inflake.lock, an update to the flake's inputs will pull the latest commit frommaster, which could introduce untrusted code. This practice increases the risk of supply chain attacks compared to using tagged releases or more stable channels.Recommendation: For better security and stability, pin the dependency to a specific, immutable git revision (a commit hash or tag) instead of a floating branch like
master. This ensures that you are always using a known, vetted version of the dependency.