Separate option for gaming
This commit is contained in:
parent
c9156044f8
commit
a137506a13
9 changed files with 29 additions and 9 deletions
|
@ -3,9 +3,10 @@
|
|||
imports = [
|
||||
../options.nix
|
||||
./battery.nix
|
||||
./geoffrey.nix
|
||||
./common.nix
|
||||
./desktop.nix
|
||||
./gaming
|
||||
./geoffrey.nix
|
||||
./wireless.nix
|
||||
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22.tar.gz"}/module.nix"
|
||||
];
|
||||
|
|
7
os/gaming/default.nix
Normal file
7
os/gaming/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
config = lib.mkIf config.frogeye.gaming {
|
||||
programs.steam.enable = true;
|
||||
hardware.opengl.driSupport32Bit = true; # Enables support for 32bit libs that steam uses
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue