Move prismlauncher to home-manager games, add marathon trilogy

This commit is contained in:
Evie Litherland-Smith 2023-12-16 18:41:27 +00:00
parent 0fc98e3ff8
commit 969372cd59
5 changed files with 13 additions and 6 deletions

View file

@ -257,7 +257,8 @@
in systemConfig { in systemConfig {
inherit hostName user system; inherit hostName user system;
systemModules = default.systemModules ++ [ ./system/steam.nix ]; systemModules = default.systemModules ++ [ ./system/steam.nix ];
homeModules = default.homeModules ++ [ ./home/obs.nix ]; homeModules = default.homeModules
++ [ ./home/games/default.nix ./home/obs.nix ];
}; };
}; };

1
home/games/default.nix Normal file
View file

@ -0,0 +1 @@
{ ... }: { imports = [ ./minecraft.nix ./marathon.nix ]; }

7
home/games/marathon.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
alephone-marathon
alephone-durandal
alephone-infinity
];
}

1
home/games/minecraft.nix Normal file
View file

@ -0,0 +1 @@
{ pkgs, ... }: { home.packages = with pkgs; [ prismlauncher ]; }

View file

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }: { ... }: {
{
environment.systemPackages = with pkgs; [ prismlauncher ];
hardware = { hardware = {
opengl.driSupport32Bit = true; opengl.driSupport32Bit = true;
steam-hardware.enable = true; steam-hardware.enable = true;
@ -15,7 +12,7 @@
steam = { steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
gamescopeSession.enable = lib.mkDefault false; gamescopeSession.enable = true;
}; };
}; };
} }