feat(gaming): restructure configuration
This commit is contained in:
parent
5928e539fb
commit
f0d09a9d28
5 changed files with 20 additions and 32 deletions
home/gaming
|
@ -1,17 +1,6 @@
|
|||
{ config, pkgs, nixosConfig, ... }:
|
||||
|
||||
let
|
||||
steam = pkgs.steam.override {
|
||||
extraLibraries = pkgs:
|
||||
with nixosConfig.hardware.opengl;
|
||||
if pkgs.hostPlatform.is64bit then
|
||||
[ package ] ++ extraPackages
|
||||
else
|
||||
[ package32 ] ++ extraPackages32;
|
||||
};
|
||||
in {
|
||||
home.packages = [ steam steam.run pkgs.protontricks ];
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file = {
|
||||
proton-ge = let version = "GE-Proton7-54";
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue