restructuring4

This commit is contained in:
cnst
2024-06-23 18:37:40 +02:00
parent 51fa53b788
commit 1b75dc88c4
4 changed files with 44 additions and 60 deletions

View File

@@ -16,7 +16,7 @@
# If you want to use modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
./steam
# You can also split up your configuration and import pieces of it here:
# ./users.nix
# Import your generated (nixos-generate-config) hardware configuration

23
nixos/steam/default.nix Normal file
View File

@@ -0,0 +1,23 @@
{ pkgs, ... }:
{
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs =
pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
gamescope
mangohud
];
};
};
}