alien: configure proton vars and add steam big picture entry

This commit is contained in:
Sean Kovacs 2026-03-26 11:25:07 -04:00
commit dbc99ec132
Signed by: sckova
GPG key ID: 00F325187C68651A
2 changed files with 24 additions and 5 deletions

View file

@ -1,8 +1,5 @@
{
config,
pkgs,
lib,
pkgs-unstable,
...
}:
{
@ -12,8 +9,7 @@
};
home.packages = with pkgs; [
pkgs-unstable.ckan
ckan
spotify
adwsteamgtk
daggerfall-unity
@ -21,6 +17,27 @@
gamemode
];
# PROTON_ENABLE_NVAPI=1 PROTON_DLSS_UPGRADE=1 PROTON_ENABLE_NGX_UPDATER=1 DXVK_NVAPI_DRS_SETTINGS=NGX_DLSS_SR_MODE=balanced MANGOHUD_CONFIG="fps_limit=144,gamemode,ram,vram" mangohud gamemoderun %command%
xdg.desktopEntries.steam-big-picture = {
name = "Steam (Big Picture)";
icon = "steam";
exec = "gamescope -e --force-grab-cursor -s 2 -- steam -tenfoot";
terminal = false;
categories = [
"Network"
"FileTransfer"
"Game"
];
};
home.sessionVariables = {
PROTON_ENABLE_NVAPI = 1;
PROTON_DLSS_UPGRADE = 1;
PROTON_ENABLE_NGX_UPDATER = 1;
DXVK_NVAPI_DRS_SETTINGS = "NGX_DLSS_SR_MODE=balanced";
MANGOHUD_CONFIG = "fps_limit=144,gamemode,ram,vram";
};
programs.noctalia-shell.settings.brightness.enableDdcSupport = true;
programs.noctalia-shell.settings.bar = {
position = "top";

View file

@ -149,6 +149,8 @@
QT_QPA_PLATFORMTHEME = "qt6ct";
# this makes electron apps work per the wiki
NIXOS_OZONE_WL = "1";
# allow non-free packages in shells
NIXPKGS_ALLOW_UNFREE = 1;
};
gtk = {