steam feature
This commit is contained in:
32
modules/features/steam/default.nix
Normal file
32
modules/features/steam/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.steam = {
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# If buying isn't owning than piracy isn't stealing
|
||||
environment.systemPackages = [
|
||||
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.wrapped
|
||||
];
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
protontricks.enable = true;
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-bin
|
||||
];
|
||||
package = pkgs.steam.override {
|
||||
extraEnv = {
|
||||
LD_AUDIT = "${
|
||||
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
|
||||
}/library-inject.so:${
|
||||
inputs.sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
|
||||
}/SLSsteam.so";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user