forked from KptltD00M/nixy
Add Steam and Vencord configurations: include desktop entries, session variables, and system packages
This commit is contained in:
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -12,6 +12,10 @@
|
|||||||
../../nixos/users.nix
|
../../nixos/users.nix
|
||||||
../../nixos/utils.nix
|
../../nixos/utils.nix
|
||||||
../../nixos/hyprland.nix
|
../../nixos/hyprland.nix
|
||||||
|
|
||||||
|
../../nixos/vencord.nix
|
||||||
|
../../nixos/steam.nix
|
||||||
|
|
||||||
../../home/programs/helium/system.nix # I hate browser's configuration..
|
../../home/programs/helium/system.nix # I hate browser's configuration..
|
||||||
|
|
||||||
# You should let those lines as is
|
# You should let those lines as is
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
../../home/programs/nix-utils
|
../../home/programs/nix-utils
|
||||||
../../home/programs/spotatui
|
../../home/programs/spotatui
|
||||||
../../home/programs/yazi
|
../../home/programs/yazi
|
||||||
|
../../home/programs/steam
|
||||||
|
|
||||||
../../home/programs/group/basic-apps.nix
|
../../home/programs/group/basic-apps.nix
|
||||||
../../home/programs/group/cybersecurity.nix
|
../../home/programs/group/cybersecurity.nix
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{ ... }: {
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
dedicatedServer.openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
vencord
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user