some stuff

This commit is contained in:
xunuwu 2024-06-14 07:37:34 +02:00
parent 368fc628c2
commit 841fe9a6a9
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
11 changed files with 77 additions and 65 deletions

View file

@ -12,6 +12,7 @@
];
boot = {
kernelPackages = pkgs.linuxPackages_latest;
initrd = {
availableKernelModules = [
"nvme"
@ -66,7 +67,14 @@
hardware.enableAllFirmware = true;
services.xserver.videoDrivers = ["amdgpu"];
services.xserver.videoDrivers = [
"amdgpu"
#"nvidia"
];
#hardware.nvidia = {
# modesetting.enable = true;
# package = config.boot.kernelPackages.nvidiaPackages.stable;
#};
nixpkgs.hostPlatform.system = "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true;