perf: Home-manager to module

feat: Optionise config
This commit is contained in:
2026-08-19 21:41:35 +03:00
committed by Sweetbread
parent 1111288a47
commit fe7d4c1851
97 changed files with 395 additions and 488 deletions
+20
View File
@@ -0,0 +1,20 @@
{ config, pkgs, pkgs-stable, lib, ... }:
lib.mkIf config.programs.gamemode.enable {
programs.steam = {
enable = true;
gamescopeSession.enable = true;
};
environment.systemPackages = with pkgs-stable; [
mangohud
protonup
pkgs.bottles
heroic
];
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
"\${HOME}/.steam/root/compatibilitytools.d";
};
}