Files
nix-config/osConfigs/hosts/desktop.nix
tomoron 633eea8877
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 13m10s
enable display manager on desktop
2025-05-06 22:47:47 +02:00

30 lines
494 B
Nix

{ config, lib, inputs, pkgs, ... }:
{
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;
}