rename steam module to pc

This commit is contained in:
Tyler Starr 2025-03-12 21:45:39 -07:00
parent 5ac6883be1
commit 7d2add4ea3
4 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@
}; };
gaming = { gaming = {
emulation.enable = true; emulation.enable = true;
steam.enable = true; pc.enable = true;
}; };
programs = { programs = {
chezmoi.apply = true; chezmoi.apply = true;

View File

@ -42,7 +42,7 @@
gaming = { gaming = {
emulation.enable = true; emulation.enable = true;
minecraft.enable = true; minecraft.enable = true;
steam.enable = true; pc.enable = true;
}; };
programs = { programs = {
beancount.enable = true; beancount.enable = true;

View File

@ -3,6 +3,6 @@
imports = [ imports = [
./emulation.nix ./emulation.nix
./minecraft.nix ./minecraft.nix
./steam.nix ./pc.nix
]; ];
} }

View File

@ -1,8 +1,8 @@
{ config, lib, pkgs, user, ... }: { config, lib, pkgs, user, ... }:
let cfg = config.modules.gaming.steam; let cfg = config.modules.gaming.pc;
in { in {
options.modules.gaming.steam.enable = lib.mkEnableOption "steam"; options.modules.gaming.pc.enable = lib.mkEnableOption "pc";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility