The Great Modularization
This commit is contained in:
parent
e0b7d60a8d
commit
eb279f1f65
34 changed files with 1356 additions and 1286 deletions
28
modules/nixos/gaming.nix
Normal file
28
modules/nixos/gaming.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ inputs, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
nixpkgs-unstable = import inputs.nixpkgs-unstable {
|
||||
system = "${pkgs.system}";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in {
|
||||
programs = {
|
||||
gamemode.enable = true; # performance tuning for games
|
||||
steam = {
|
||||
enable = true;
|
||||
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
# heroic games launcher
|
||||
heroic
|
||||
(prismlauncher.override {
|
||||
# Change Java runtimes available to Prism Launcher
|
||||
jdks = [
|
||||
jdk8
|
||||
nixpkgs-unstable.graalvmPackages.graalvm-oracle_17
|
||||
inputs.nixpkgs-pin.legacyPackages.${pkgs.system}.graalvm-ce
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue