diff --git a/hosts/tuxcomp/gaming.nix b/hosts/tuxcomp/gaming.nix index c396801..b72f1d4 100644 --- a/hosts/tuxcomp/gaming.nix +++ b/hosts/tuxcomp/gaming.nix @@ -34,40 +34,32 @@ desmume eden libretro.citra - prismlauncher steam steamguard-cli winetricks + wineWow64Packages.stable ]; services.flatpak.packages = [ "org.vinegarhq.Sober" ]; - # TODO: switch to home manager - # home-manager.users.djai = - # { config, ... }: - # { - # home.packages = with pkgs; [ ]; - # - # xdg.desktopEntries.sims4 = { - # name = "The Sims 4"; - # exec = ''xdg-open "PATHTOEXECHERE"''; - # icon = "${config.home.homeDirectory}/.icons/"; - # categories = [ "Game" ]; - # terminal = false; - # }; - # - # # gamescope does fullscreen and scaling; setting content=game sets direct scnaout - # # requires this in hyprland config: render.direct_scanout = 2; - # wayland.windowManager.hyprland.settings.window_rule = [ - # { - # match.class = "gamescope"; - # fullscreen = true; - # content = "game"; - # opaque = true; - # immediate = true; - # } - # ]; - # }; + home-manager.users.djai.programs.prismlauncher = { + enable = true; + settings = { + ApplicationTheme = "system"; + Env = ''{\"__GLX_VENDOR_LIBRARY_NAME\":\"nvidia\",\"__NV_PRIME_RENDER_OFFLOAD\":\"1\",\"__VK_LAYER_NV_optimus\":\"NVIDIA_only\"}''; + IconTheme = "pe_colored"; + JavaPath = "java"; # TODO: check correct + Language = "en_GB"; + MaxMemAlloc = 8192; + MinMemAlloc = 512; + ShowConsole = false; + ShowConsoleOnError = true; + ShowGameTime = true; + ShowGameTimeWithoutDays = true; + UseDiscreteGpu = true; + UserAskedAboutAutomaticJavaDownload = true; + }; + }; } diff --git a/modules/apps/default.nix b/modules/apps/default.nix index 37f9df6..1515c29 100644 --- a/modules/apps/default.nix +++ b/modules/apps/default.nix @@ -30,16 +30,10 @@ home-manager.users.djai.programs.yt-dlp.enable = true; home-manager.users.djai.services.flameshot.enable = true; - # TODO: switch to home manager users.users.djai.packages = with pkgs; [ - # chat - easyeffects + easyeffects # TODO home manager program + yazi # TODO home manager program - # tools - yazi - ]; - - home-manager.users.djai.home.packages = with pkgs; [ # chat signal-desktop diff --git a/modules/audio/default.nix b/modules/audio/default.nix index a2892de..b38ba73 100644 --- a/modules/audio/default.nix +++ b/modules/audio/default.nix @@ -85,7 +85,7 @@ in }; }; - home-manager.users.djai.home.packages = with pkgs; [ + users.users.djai.packages = with pkgs; [ pulseaudio pavucontrol pipewire diff --git a/modules/dev/default.nix b/modules/dev/default.nix index b0bae5d..b0e81c1 100644 --- a/modules/dev/default.nix +++ b/modules/dev/default.nix @@ -73,8 +73,4 @@ in lm_sensors ]; - - # TODO: switch to home manager - # home-manager.users.djai.home.packages = with pkgs; []; - }