Add Steam and Vencord configurations: include desktop entries, session variables, and system packages

This commit is contained in:
KptltD00M
2026-06-23 20:27:54 +02:00
parent 0205b8fe89
commit 633b2aadd0
6 changed files with 64 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{
pkgs,
...
}: {
home.packages = with pkgs; [
steam
protonup-ng
proton-ge-bin
];
xdg.desktopEntries = {
Steam = {
name = "Steam";
exec = "${pkgs.steam}/bin/steam";
icon = "steam";
type = "Application";
categories = [
"Game"
"Network"
];
terminal = false;
};
};
home.sessionVariables = {
STEAM_FORCE_DESKTOPUI_SCALING = "1.25";
};
}
+13
View File
@@ -0,0 +1,13 @@
{ ... }: {
# Steam runtime tweaks (user-session level, not NixOS system config)
home.sessionVariables = {
# Improves scaling consistency on HiDPI / Wayland setups
STEAM_FORCE_DESKTOPUI_SCALING = "1.25";
# Optional Proton-related behavior toggles (safe defaults)
PROTON_ENABLE_NVAPI = "1";
PROTON_NO_ESYNC = "0";
PROTON_NO_FSYNC = "0";
};
}
+4
View File
@@ -12,6 +12,10 @@
../../nixos/users.nix
../../nixos/utils.nix
../../nixos/hyprland.nix
../../nixos/vencord.nix
../../nixos/steam.nix
../../home/programs/helium/system.nix # I hate browser's configuration..
# You should let those lines as is
+1
View File
@@ -14,6 +14,7 @@
../../home/programs/nix-utils
../../home/programs/spotatui
../../home/programs/yazi
../../home/programs/steam
../../home/programs/group/basic-apps.nix
../../home/programs/group/cybersecurity.nix
+13
View File
@@ -0,0 +1,13 @@
{ ... }: {
programs.steam = {
enable = true;
gamescopeSession.enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
}
+5
View File
@@ -0,0 +1,5 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
vencord
];
}