From db6da5a60b4e1a63d043a8f5da69d3b46c8aa9f1 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Tue, 2 Jul 2024 22:32:01 +0900 Subject: [PATCH] Download gaming platforms --- hosts/default/configuration.nix | 8 ++++++++ modules/nixos/gaming.nix | 19 +++++++++++++++++++ modules/nixos/stylix/ghibli.nix | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 modules/nixos/gaming.nix diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index d37931b..e4dc4d7 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -8,17 +8,25 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + # NVIDIA setup ../../modules/nixos/nvidia.nix + # Gnome customization ../../modules/nixos/gnome.nix + # Nh helper ../../modules/nixos/nh.nix + # Home-manager inputs.home-manager.nixosModules.default + # Stylix colors ../../modules/nixos/stylix/ghibli.nix #../../modules/nixos/stylix/kuromi.nix + + # Gaming + ../../modules/nixos/gaming.nix ]; # Bootloader. diff --git a/modules/nixos/gaming.nix b/modules/nixos/gaming.nix new file mode 100644 index 0000000..3c2d738 --- /dev/null +++ b/modules/nixos/gaming.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: + +{ + # Enable Steam + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + localNetworkGameTransfers.openFirewall = true; + }; + + # Enable wine + environment.systemPackages = with pkgs; [ + wineWowPackages.stable + wineWowPackages.staging + winetricks + lutris + ]; +} \ No newline at end of file diff --git a/modules/nixos/stylix/ghibli.nix b/modules/nixos/stylix/ghibli.nix index 21ce1a4..f5ad92c 100644 --- a/modules/nixos/stylix/ghibli.nix +++ b/modules/nixos/stylix/ghibli.nix @@ -2,7 +2,7 @@ { stylix.enable = true; - stylix.image = ./wallpapers/ghibli-7.png; + stylix.image = ./wallpapers/ghibli-3.png; stylix.cursor.package = pkgs.bibata-cursors; stylix.cursor.name = "Bibata-Modern-Ice";