nix/module/Desktop.nix

49 lines
743 B
Nix
Raw Normal View History

{ pkgs, ... }: {
hardware.opengl = let
packages = with pkgs; [
dxvk
gamescope
mangohud
vkd3d
];
in {
extraPackages = packages;
extraPackages32 = packages;
};
environment = {
systemPackages = with pkgs; [
adwsteamgtk
android-studio
blender-hip
bottles
dxvk
gamescope
gimp
gradience
jellyfin
jetbrains.idea-community
mangohud
obs-studio
onlyoffice-bin
tor-browser
vkd3d
];
variables = {
# MangoHud.
MANGOHUD = "1";
2024-03-21 22:40:12 +03:00
MANGOHUD_CONFIGFILE = ./mangohud/MangoHud.conf;
MANGOHUD_PRESETSFILE = ./mangohud/MangoPresets.conf;
# Proton.
WINEFSYNC = "1";
};
2024-03-21 22:40:12 +03:00
# etc.mangohud.source = ./mangohud;
};
# Special packages.
programs.steam.enable = true;
}