seprate hosts in submodules and started adding desktop pc configuration
This commit is contained in:
6
hosts/modules/game.nix
Normal file
6
hosts/modules/game.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.steam.enable=true;
|
||||
programs.steam.protontricks.enable=true;
|
||||
}
|
11
hosts/modules/nvidia.nix
Normal file
11
hosts/modules/nvidia.nix
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
}
|
Reference in New Issue
Block a user