feat: add prismlauncher, make gtk apps bigger

This commit is contained in:
oddlama 2023-09-13 18:39:25 +02:00
parent 05b626f912
commit 3882c1aac4
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 16 additions and 5 deletions

View file

@ -17,6 +17,7 @@
] ]
++ lib.optionals nixosConfig.graphical.gaming.enable [ ++ lib.optionals nixosConfig.graphical.gaming.enable [
./games/bottles.nix ./games/bottles.nix
./games/minecraft.nix
]; ];
home = { home = {

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
pkgs,
lib,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
bottles bottles
winetricks winetricks

View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
home.packages = with pkgs; [
prismlauncher
];
home.persistence."/state".directories = [
".local/share/PrismLauncher"
];
}

View file

@ -146,6 +146,11 @@ in {
.${nixosConfig.node.name} .${nixosConfig.node.name}
or {}; or {};
home.sessionVariables = {
# Make gtk apps bigger
GDK_SCALE = 2;
};
home.file.".xinitrc".text = '' home.file.".xinitrc".text = ''
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval $(dbus-launch --exit-with-session --sh-syntax) eval $(dbus-launch --exit-with-session --sh-syntax)