organize packages
This commit is contained in:
18
modules/software/gaming/game-tools.nix
Normal file
18
modules/software/gaming/game-tools.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
5
modules/software/gaming/gaming.nix
Normal file
5
modules/software/gaming/gaming.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.gaming = {
|
||||
includes = with den.aspects; [ steam roblox hytale polytoria game-tools ];
|
||||
};
|
||||
}
|
||||
16
modules/software/gaming/hytale.nix
Normal file
16
modules/software/gaming/hytale.nix
Normal 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=";
|
||||
}}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
16
modules/software/gaming/polytoria.nix
Normal file
16
modules/software/gaming/polytoria.nix
Normal 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=";
|
||||
}}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
10
modules/software/gaming/roblox.nix
Normal file
10
modules/software/gaming/roblox.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ ... }: {
|
||||
den.aspects.roblox = {
|
||||
nixos = {
|
||||
services.flatpak.packages = [
|
||||
"org.vinegarhq.Sober"
|
||||
"org.vinegarhq.Vinegar"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
34
modules/software/gaming/steam.nix
Normal file
34
modules/software/gaming/steam.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user