mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: add prismlauncher, make gtk apps bigger
This commit is contained in:
parent
05b626f912
commit
3882c1aac4
4 changed files with 16 additions and 5 deletions
|
@ -17,6 +17,7 @@
|
|||
]
|
||||
++ lib.optionals nixosConfig.graphical.gaming.enable [
|
||||
./games/bottles.nix
|
||||
./games/minecraft.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
bottles
|
||||
winetricks
|
||||
|
|
9
users/myuser/graphical/games/minecraft.nix
Normal file
9
users/myuser/graphical/games/minecraft.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
prismlauncher
|
||||
];
|
||||
|
||||
home.persistence."/state".directories = [
|
||||
".local/share/PrismLauncher"
|
||||
];
|
||||
}
|
|
@ -146,6 +146,11 @@ in {
|
|||
.${nixosConfig.node.name}
|
||||
or {};
|
||||
|
||||
home.sessionVariables = {
|
||||
# Make gtk apps bigger
|
||||
GDK_SCALE = 2;
|
||||
};
|
||||
|
||||
home.file.".xinitrc".text = ''
|
||||
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||
eval $(dbus-launch --exit-with-session --sh-syntax)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue