forked from mirrors_public/oddlama_nix-config
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 [
|
++ lib.optionals nixosConfig.graphical.gaming.enable [
|
||||||
./games/bottles.nix
|
./games/bottles.nix
|
||||||
|
./games/minecraft.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
bottles
|
bottles
|
||||||
winetricks
|
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}
|
.${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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue