rework gaming aspect

This commit is contained in:
William 2026-02-15 17:17:29 -03:00
parent 0ce2d3b947
commit 1075c256f8
11 changed files with 72 additions and 78 deletions

View file

@ -1,25 +0,0 @@
{ ... }:
{
flake.modules.nixos.gaming-flatpak =
{ pkgs, ... }:
{
services.flatpak.packages = [
"com.github.k4zmu2a.spacecadetpinball"
"com.steamgriddb.SGDBoop"
"io.github.Foldex.AdwSteamGtk"
"io.itch.itch"
"io.mrarm.mcpelauncher"
"net.retrodeck.retrodeck"
"org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/25.08"
rec {
appId = "com.hypixel.HytaleLauncher";
sha256 = "01307s44bklc1ldcigcn9n4lm8hf8q793v9fv7w4w04xd5zyh4rv";
bundle = "${pkgs.fetchurl {
url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak";
inherit sha256;
}}";
}
];
};
}

View file

@ -1,13 +0,0 @@
{ ... }:
{
flake.modules.nixos.gaming-hardware =
{ ... }:
{
hardware = {
xpadneo.enable = true;
steam-hardware.enable = true; # Allow steam client to manage controllers
graphics.enable32Bit = true; # For OpenGL games
};
};
}

View file

@ -1,13 +0,0 @@
{ ... }:
{
flake.modules.nixos.gaming-launchers =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
clonehero
heroic
prismlauncher
];
};
}

View file

@ -2,7 +2,7 @@
{
flake.modules = {
nixos.gaming-mangohud =
nixos.mangohud =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
@ -10,7 +10,7 @@
];
};
homeManager.gaming-mangohud =
homeManager.mangohud =
{ config, ... }:
{
programs.mangohud = {

View file

@ -1,7 +1,7 @@
{ ... }:
{
flake.modules.nixos.gaming-steam =
flake.modules.nixos.steam =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
@ -15,5 +15,10 @@
};
gamemode.enable = true;
};
services.flatpak.packages = [
"com.steamgriddb.SGDBoop"
"io.github.Foldex.AdwSteamGtk"
];
};
}