Nixos upddate 11-03-2026, nvidia fix

This commit is contained in:
Alexander
2026-03-11 13:30:14 +01:00
parent d93d615d1d
commit 13fe352beb
5 changed files with 93 additions and 73 deletions
+21 -3
View File
@@ -1,4 +1,10 @@
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
@@ -10,8 +16,13 @@
};
initrd = {
availableKernelModules =
[ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ];
availableKernelModules = [
"nvme"
"xhci_pci"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
kernelModules = [ ];
};
kernelModules = [ "kvm-amd" ];
@@ -24,4 +35,11 @@
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {
bluetooth.enable = true;
bluetooth.powerOnBoot = true;
nvidia.modesetting.enable = true;
nvidia.open = true;
};
}
-2
View File
@@ -43,8 +43,6 @@
programs = {
nix-ld.dev.enable = true;
light.enable = true;
nm-applet.enable = true;
gnupg.agent = {
+4
View File
@@ -116,6 +116,9 @@
kubectl
kubectx
ansible
btop
htop
nvitop
#torrent
qbittorrent
@@ -126,6 +129,7 @@
#virt-manager
#vial #keyboard configurator
#qmk
google-chrome
#libreoffice
grim