hopper things
This commit is contained in:
parent
498f3050d5
commit
926f8b190b
14 changed files with 96 additions and 22 deletions
|
@ -1,8 +1,7 @@
|
|||
{inputs}: {
|
||||
{inputs, ...}: {
|
||||
imports = with inputs.hardware.nixosModules; [
|
||||
common-cpu-intel
|
||||
common-pc-hdd
|
||||
common-gpu-nvidia
|
||||
|
||||
./hardware.nix
|
||||
];
|
||||
|
|
|
@ -1,4 +1,14 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||
|
||||
## nvidia gpu
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = ["ehci_pci" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue