add: chaotic-nyx with CachyOS kernel #7
Reference in New Issue
Block a user
Delete Branch "claude/add-chaotic-nyx-cachyos-o0LDX"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://claude.ai/code/session_012fr2N5SNf2LJpy3itB8D8S
Pull request overview
This PR migrates from the Zen kernel to CachyOS kernel by integrating the chaotic-nyx flake input, which provides access to CachyOS packages and sched-ext schedulers for improved system performance.
Changes:
linuxPackages_zenwithlinuxPackages_cachyosfor the boot kernelReviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@@ -28,2 +28,4 @@inputs.nixpkgs.follows = "nixpkgs";};chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";The chaotic input is missing the
inputs.nixpkgs.followsdirective that is consistently used for all other flake inputs in this codebase (see lines 9, 14, 19, and 28). This can lead to multiple versions of nixpkgs being pulled in, increasing closure size and potentially causing version conflicts. Addinputs.nixpkgs.follows = "nixpkgs";to maintain consistency with the existing pattern.The new
chaoticflake input pulls code fromgithub:chaotic-cx/nyx/nyxpkgs-unstableusing a mutable branch/tag reference, creating a supply-chain risk if that third-party repository is compromised or the branch is force-pushed. Because this input’s NixOS modules and packages will be evaluated and used in system builds, an attacker controlling that ref could silently inject malicious kernel or system code. To mitigate this, pin the input to an immutable commit SHA (or equivalent verified reference) and update it deliberately when you intend to trust new upstream changes.