summaryrefslogtreecommitdiff
path: root/modules/boot.nix
blob: 587b43f71eec839b455d4cff79328a9d81f44249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs, ... }:
{
  boot = {
    loader = {
      efi.canTouchEfiVariables = true;
        systemd-boot = {
          enable = true;
          editor = false;
          configurationLimit = null;
        };
      timeout = 0;
    };

    supportedFilesystems = [ "ntfs" ];
    initrd.kernelModules = [ "amdgpu" "kvm-amd" ];
    kernelParams = [
    "video=DP-1:2560x1440@240"
    "quiet"
    ];
    # kernelPackages = pkgs.linuxPackages_cachyos-lto.cachyOverride { mArch = "ZEN4"; };
    kernelPackages = pkgs.linuxPackages_latest;
  };
}