Give neogaia the CachyOS kernel and hardware enablement
Select the CachyOS kernel per-Host via boot.kernelPackages, enable Intel microcode and redistributable firmware (ath10k for the QCA6174 wifi), and move zram behind a toggle Module. Declare the chaotic binary cache in the base Nix settings (extra-substituters/keys) so the built system fetches the kernel from nyx-cache rather than compiling it.
This commit is contained in:
@@ -51,6 +51,18 @@ in
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
# The chaotic binary cache, declared explicitly on the built system so the
|
||||
# CachyOS kernel is substituted rather than compiled. chaotic's own module
|
||||
# also provides these, but stating them here keeps the built system's cache
|
||||
# config visible and independent of that module. Added via the `extra-`
|
||||
# options so they only append — cache.nixos.org and any other substituter
|
||||
# are never dropped. (Fetching at install time depends on the installing
|
||||
# daemon's substituters, not this — see the chaotic gotcha in CLAUDE.md.)
|
||||
nix.settings.extra-substituters = [ "https://nyx-cache.chaotic.cx/" ];
|
||||
nix.settings.extra-trusted-public-keys = [
|
||||
"nyx-cache.chaotic.cx:dJxTrgMC3V3cFfyIiBQDQorG6k1LsqurH/srpMSq7qk="
|
||||
];
|
||||
environment.systemPackages = [ pkgs.git ];
|
||||
|
||||
# Primary user, in wheel. No password is set here.
|
||||
|
||||
Reference in New Issue
Block a user