add: chaotic-nyx with CachyOS kernel #7
@@ -27,7 +27,8 @@
|
|||||||
# ═══════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
boot.kernelPackages = pkgs.linuxPackages_cachyos;
|
||||||
|
chaotic.scx.enable = true; # Enable sched-ext schedulers for CachyOS
|
||||||
|
|
||||||
# ═══════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════
|
||||||
# NETWORKING
|
# NETWORKING
|
||||||
|
|||||||
@@ -27,6 +27,8 @@
|
|||||||
url = "github:vicinaehq/vicinae";
|
url = "github:vicinaehq/vicinae";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||||
|
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Binary caches for faster builds
|
# Binary caches for faster builds
|
||||||
@@ -49,7 +51,10 @@
|
|||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [ ./configuration.nix ];
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
inputs.chaotic.nixosModules.default
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user
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.