nixos-config/common/boot.nix
2025-07-25 10:55:20 -04:00

28 lines
No EOL
535 B
Nix
Executable file

{ inputs, config, pkgs, ... }:
{
imports = [
inputs.chaotic.nixosModules.nyx-cache
inputs.chaotic.nixosModules.nyx-overlay
inputs.chaotic.nixosModules.nyx-registry
];
boot = {
loader = {
systemd-boot = {
enable = true;
editor = false;
configurationLimit = 5;
};
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxPackages_cachyos;
};
services.scx = {
enable = true;
# use gaming performance scheduler
scheduler = "scx_lavd";
};
}