modules, overlays, and packages have their own default.nix re-exporting things instead of reading file paths. slightly improves declarativeness. wine-osu is removed; we're just using nix-gaming (for now). our custom packages will now have to be accessed via pkgs.me instead of just pkgs. helps know where it came from future goals: get rid of our overlays completely, or at least not make it replace anything from nixpkgs
23 lines
571 B
Nix
23 lines
571 B
Nix
{ config, lib, pkgs, ... }: {
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
grub = {
|
|
enable = true;
|
|
efiSupport = true;
|
|
device = "nodev";
|
|
useOSProber = lib.mkForce false;
|
|
};
|
|
};
|
|
initrd.kernelModules = [ "i915" ];
|
|
kernelParams = [
|
|
"amdgpu.gpu_recovery=1"
|
|
"amdgpu.si_support=1"
|
|
"radeon.si_support=0"
|
|
"intel_pstate=passive"
|
|
"msr.allow_writes=on"
|
|
];
|
|
kernelPackages = lib.mkForce (pkgs.linuxPackagesFor pkgs.me.linux-lava);
|
|
};
|
|
}
|