New Nix config
This commit is contained in:
@@ -1,20 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Bootloader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Kernel
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelParams = [ "preempt=full" ];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
xdg.portal.config.common.default = [ "gnome" ];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvidia_drm" "nvidia_modeset" "nvidia" "nvidia_uvm"
|
||||
];
|
||||
|
||||
boot.kernelParams = [ "preempt=full" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user