Machines/WinMax2: apply home-manager tweaks to every user

This commit is contained in:
Toast 2024-04-12 00:40:19 +02:00
parent 0337f4f7a0
commit 819b9bd218

View file

@ -110,19 +110,21 @@
environment.sessionVariables = {
STEAM_FORCE_DESKTOPUI_SCALING = "2";
};
home-manager.users.toast = {
# Steam's hidpi support is bugged so it needds to be hardcoded
# This bypasses that
xdg.desktopEntries = {
steam-noScaling = {
name = "Steam (No Scaling)";
exec = "env STEAM_FORCE_DESKTOPUI_SCALING=0 steam %U";
icon = "steam";
categories = ["Network" "FileTransfer" "Game"];
comment = "Application for managing and playing games on Steam";
home-manager.sharedModules = [
{
# Steam's hidpi support is bugged so it needds to be hardcoded
# This bypasses that
xdg.desktopEntries = {
steam-noScaling = {
name = "Steam (No Scaling)";
exec = "env STEAM_FORCE_DESKTOPUI_SCALING=0 steam %U";
icon = "steam";
categories = ["Network" "FileTransfer" "Game"];
comment = "Application for managing and playing games on Steam";
};
};
};
};
}
];
# Enable sound.
# sound.enable = true;