From 969372cd59ecc6144616713ce51cb19c7e4a1083 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 16 Dec 2023 18:41:27 +0000 Subject: [PATCH] Move prismlauncher to home-manager games, add marathon trilogy --- flake.nix | 3 ++- home/games/default.nix | 1 + home/games/marathon.nix | 7 +++++++ home/games/minecraft.nix | 1 + system/steam.nix | 7 ++----- 5 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 home/games/default.nix create mode 100644 home/games/marathon.nix create mode 100644 home/games/minecraft.nix diff --git a/flake.nix b/flake.nix index cc58cef8..f1a93efd 100644 --- a/flake.nix +++ b/flake.nix @@ -257,7 +257,8 @@ in systemConfig { inherit hostName user system; systemModules = default.systemModules ++ [ ./system/steam.nix ]; - homeModules = default.homeModules ++ [ ./home/obs.nix ]; + homeModules = default.homeModules + ++ [ ./home/games/default.nix ./home/obs.nix ]; }; }; diff --git a/home/games/default.nix b/home/games/default.nix new file mode 100644 index 00000000..e5903a40 --- /dev/null +++ b/home/games/default.nix @@ -0,0 +1 @@ +{ ... }: { imports = [ ./minecraft.nix ./marathon.nix ]; } diff --git a/home/games/marathon.nix b/home/games/marathon.nix new file mode 100644 index 00000000..1d0f98e5 --- /dev/null +++ b/home/games/marathon.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + alephone-marathon + alephone-durandal + alephone-infinity + ]; +} diff --git a/home/games/minecraft.nix b/home/games/minecraft.nix new file mode 100644 index 00000000..4a09aafa --- /dev/null +++ b/home/games/minecraft.nix @@ -0,0 +1 @@ +{ pkgs, ... }: { home.packages = with pkgs; [ prismlauncher ]; } diff --git a/system/steam.nix b/system/steam.nix index f0fc6347..74af8876 100644 --- a/system/steam.nix +++ b/system/steam.nix @@ -1,7 +1,4 @@ -{ config, lib, pkgs, ... }: - -{ - environment.systemPackages = with pkgs; [ prismlauncher ]; +{ ... }: { hardware = { opengl.driSupport32Bit = true; steam-hardware.enable = true; @@ -15,7 +12,7 @@ steam = { enable = true; remotePlay.openFirewall = true; - gamescopeSession.enable = lib.mkDefault false; + gamescopeSession.enable = true; }; }; }