add: gaming
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
../modules/home/hyprland.nix
|
../modules/home/hyprland.nix
|
||||||
../modules/home/waybar.nix
|
../modules/home/waybar.nix
|
||||||
../modules/home/theme.nix
|
../modules/home/theme.nix
|
||||||
|
../modules/home/gaming.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
|
|||||||
@@ -8,5 +8,6 @@
|
|||||||
../../modules/system/default.nix
|
../../modules/system/default.nix
|
||||||
../../modules/system/hyprland.nix
|
../../modules/system/hyprland.nix
|
||||||
../../modules/system/scripts.nix
|
../../modules/system/scripts.nix
|
||||||
|
../../modules/system/gaming.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
protonup-qt
|
||||||
|
protontricks
|
||||||
|
mangohud
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.mangohud = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
full = true;
|
||||||
|
no_display = true; # Don't show by default (toggle with Shift+F12)
|
||||||
|
cpu_temp = true;
|
||||||
|
gpu_temp = true;
|
||||||
|
ram = true;
|
||||||
|
vram = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../system/steam.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true; # For 32-bit games
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
|
extest.enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
extraCompatPackages = with pkgs; [
|
||||||
|
proton-ge-bin
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.gamemode.enable = true;
|
||||||
|
# Fix slow Steam Download speeds
|
||||||
|
services.resolved.enable = true;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user