All checks were successful
Build iso when a new version is pushed / test (push) Successful in 11m57s
30 lines
542 B
Nix
30 lines
542 B
Nix
|
|
{ config, lib, inputs, pkgs, ... }:
|
|
|
|
{
|
|
boot.kernelParams = [ "nvidia-drm-modset=1" ];
|
|
environment.systemPackages = with pkgs; [
|
|
cudatoolkit
|
|
lm_sensors
|
|
];
|
|
|
|
networking.hostName = "nixos-fixe";
|
|
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
boot.kernelModules = [ "kvm-intel" "nvidia" ];
|
|
mods.displayManager.enable = true;
|
|
|
|
hardware.nvidia = {
|
|
open = true;
|
|
|
|
prime.nvidiaBusId = "PCI:1:0:0";
|
|
prime.intelBusId = "PCI:0:2:0";
|
|
prime.sync.enable = true;
|
|
|
|
modesetting.enable = true;
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
}
|