diff --git a/common/configuration.nix b/common/configuration.nix index 009ae71..5f569f7 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -8,6 +8,7 @@ { imports = [ ./. + ../modules/games/steam.nix ]; hardware = { diff --git a/hosts/lambdaos/configuration.nix b/hosts/lambdaos/configuration.nix index ebd6ba8..c4d6738 100644 --- a/hosts/lambdaos/configuration.nix +++ b/hosts/lambdaos/configuration.nix @@ -13,7 +13,6 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix - ../../modules/games/steam.nix ../../modules/plasma ../../common @@ -25,8 +24,6 @@ age.identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ]; - hardware.enableRedistributableFirmware = true; - hardware.enableAllFirmware = true; hardware.nvidia = { modesetting.enable = true; powerManagement = { @@ -218,8 +215,6 @@ }; }; - nixpkgs.config.allowUnfree = true; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/hosts/muos/configuration.nix b/hosts/muos/configuration.nix index 6e1fa42..0f041d4 100644 --- a/hosts/muos/configuration.nix +++ b/hosts/muos/configuration.nix @@ -10,7 +10,6 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix - ../../modules/games/steam.nix ../../common ../../common/configuration.nix diff --git a/modules/games/steam.nix b/modules/games/steam.nix index f99bad7..6899cb4 100644 --- a/modules/games/steam.nix +++ b/modules/games/steam.nix @@ -15,7 +15,12 @@ remotePlay.openFirewall = true; gamescopeSession.enable = true; dedicatedServer.openFirewall = true; - + extraPkgs = + pkgs: with pkgs; [ + pango + libthai + harfbuzz + ]; }; alvr = {