From b2b3a2f13cea59eecec7f00846b1e62d1054f7c7 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Feb 2026 15:14:07 +0000 Subject: [PATCH] add: chaotic-nyx with CachyOS kernel - Add chaotic-nyx input for access to CachyOS packages - Import chaotic nixosModules in flake outputs - Switch from zen kernel to linuxPackages_cachyos - Enable sched-ext schedulers (scx) for improved scheduling https://claude.ai/code/session_012fr2N5SNf2LJpy3itB8D8S --- configuration.nix | 3 ++- flake.nix | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 85b58f3..003f2ea 100644 --- a/configuration.nix +++ b/configuration.nix @@ -27,7 +27,8 @@ # ═══════════════════════════════════════════════════════════════ boot.loader.systemd-boot.enable = 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 diff --git a/flake.nix b/flake.nix index dd6db2e..123c587 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,8 @@ url = "github:vicinaehq/vicinae"; inputs.nixpkgs.follows = "nixpkgs"; }; + + chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; }; # Binary caches for faster builds @@ -49,7 +51,10 @@ nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { inherit system; specialArgs = { inherit inputs; }; - modules = [ ./configuration.nix ]; + modules = [ + ./configuration.nix + inputs.chaotic.nixosModules.default + ]; }; }; }