add: hosts folder

This commit is contained in:
Aaron Honeycutt 2024-01-31 08:00:36 -07:00
parent 641e11f49f
commit 172d68ebde
31 changed files with 2008 additions and 0 deletions

24
hosts/x86_64/hp-omen.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
# Name your host machine
networking.hostName = "hp-omen";
# NVIDIA
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
## Enable 32 Bit libraries for applications like Steam
hardware.opengl.driSupport32Bit = true;
# Allow Unfree
nixpkgs.config.allowUnfree = true;
environment.systemPackages =
with pkgs;
[
steam
];
}