organize packages

This commit is contained in:
4DBug
2026-03-03 12:08:01 -06:00
parent 60805bcace
commit a21805e59b
42 changed files with 320 additions and 266 deletions

View File

@@ -0,0 +1,18 @@
{ ... }: {
den.aspects.game-tools = {
nixos = { pkgs, ... }: {
users.users.bug.packages = with pkgs; [
steamtinkerlaunch
scanmem
samrewritten
lug-helper
gamemode
steam-run
];
services.flatpak.packages = [
"community.pathofbuilding.PathOfBuilding"
];
};
};
}

View File

@@ -0,0 +1,5 @@
{ den, ... }: {
den.aspects.gaming = {
includes = with den.aspects; [ steam roblox hytale polytoria game-tools ];
};
}

View File

@@ -0,0 +1,16 @@
{ ... }: {
den.aspects.hytale = {
nixos = { pkgs, ... }: {
services.flatpak.packages = [
{
appId = "com.hytale.Launcher";
sha256 = "sha256-SUxfyovC2umZmsOj5bOTZ8WfGCpnWcz7svOESwNekV0=";
bundle = "${pkgs.fetchurl {
url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak";
sha256 = "sha256-SUxfyovC2umZmsOj5bOTZ8WfGCpnWcz7svOESwNekV0=";
}}";
}
];
};
};
}

View File

@@ -0,0 +1,16 @@
{ ... }: {
den.aspects.polytoria = {
nixos = { pkgs, ... }: {
services.flatpak.packages = [
{
appId = "com.polytoria.launcher";
sha256 = "sha256-VjhNiJfSdCtlH2SuP3Mn8jjOrx5xcOqhtDKaWYIwxYg=";
bundle = "${pkgs.fetchurl {
url = "https://github.com/4DBug/poly/releases/download/poly/poly.flatpak";
sha256 = "sha256-VjhNiJfSdCtlH2SuP3Mn8jjOrx5xcOqhtDKaWYIwxYg=";
}}";
}
];
};
};
}

View File

@@ -0,0 +1,10 @@
{ ... }: {
den.aspects.roblox = {
nixos = {
services.flatpak.packages = [
"org.vinegarhq.Sober"
"org.vinegarhq.Vinegar"
];
};
};
}

View File

@@ -0,0 +1,34 @@
{ ... }: {
den.aspects.steam = {
nixos = { pkgs, ... }: {
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = false;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
#platformOptimizations.enable = true;
};
gamescope = {
enable = true;
capSysNice = true;
args = [
"--rt"
"--expose-wayland"
];
};
};
};
};
}