19 lines
429 B
Nix
19 lines
429 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Bootloader
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Use latest kernel
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
xdg.portal.config.common.default = [ "gnome" ];
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
"nvidia_drm" "nvidia_modeset" "nvidia" "nvidia_uvm"
|
|
];
|
|
}
|