Download gaming platforms

This commit is contained in:
Isshi0417 2024-07-02 22:32:01 +09:00
parent 854cb6891c
commit db6da5a60b
3 changed files with 28 additions and 1 deletions

View File

@ -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.

19
modules/nixos/gaming.nix Normal file
View File

@ -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
];
}

View File

@ -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";