feat: gamemoderun

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-26 18:39:55 -03:00
parent 61c1bd969f
commit 676dec8431
2 changed files with 14 additions and 3 deletions

View File

@@ -24,6 +24,8 @@
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"
'';
programs.dconf.enable = true;
programs.hyprland.enable = true;
/*
# TEMPFIX: 2024-05-04 https://github.com/NixOS/nixpkgs/issues/308287#issuecomment-2093091892
@@ -44,11 +46,16 @@
environment.variables = {
ROC_ENABLE_PRE_VEGA = "1";
};
hardware.opengl.extraPackages = with pkgs; [
rocmPackages.clr.icd
];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = [pkgs.rocmPackages.clr.icd];
};
programs.steam.enable = true;
programs.steam.wayland = true;
programs.gamemode.enable = true;
programs.gnupg.agent = {
enable = true;

View File

@@ -65,6 +65,9 @@
"md.obsidian.Obsidian"
];
home.sessionVariables = {
STEAM_EXTRA_COMPACT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
};
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = _: true;
home.packages = with pkgs; [
@@ -82,5 +85,6 @@
latexrun
zathura
ferdium
protonup
];
}