forked from colonelpanic/dotfiles
[NixOS] Various tweaks
This commit is contained in:
@@ -53,9 +53,6 @@
|
||||
}
|
||||
];
|
||||
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.loader.grub.useOSProber = true;
|
||||
|
||||
networking.hostName = "imalison-home";
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
|
@@ -17,6 +17,13 @@
|
||||
pmMethod = "bbswitch";
|
||||
};
|
||||
|
||||
# disable card with bbswitch by default since we turn it on only on demand!
|
||||
hardware.nvidiaOptimus.disable = true;
|
||||
|
||||
# install nvidia drivers in addition to intel one
|
||||
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
|
||||
hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
Reference in New Issue
Block a user