nix/graphical/kernel.nix
2026-02-16 11:32:22 +11:00

37 lines
711 B
Nix

{ inputs, ... }:
{
imports = [
inputs.bunker.nixosModules.default
];
services.system76-scheduler.enable = true;
bunker.kernel = {
enable = true;
hardened = false;
cpuArch = "MZEN3";
version = "6.18";
lto = "none";
trimmed = true;
};
services.scx = {
enable = true;
scheduler = "scx_bpfland";
};
# nixpkgs.overlays = [
# (final: prev: {
# nvidia-open = prev.nvidia-open.override {
# patches = [
# (pkgs.fetchpatch {
# url = "https://github.com/CachyOS/CachyOS-PKGBUILDS/raw/refs/heads/master/nvidia/nvidia-utils/kernel-6.19.patch";
# hash = "";
# })
# ];
# };
# })
# ];
}