New Nix config

This commit is contained in:
2025-12-16 14:55:04 -07:00
parent b475d40718
commit 10233a29ca
15 changed files with 152 additions and 93 deletions

View File

@@ -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" ];
}