From d7092da122aa866fa21393fa202e60c70270722e Mon Sep 17 00:00:00 2001 From: Nettika Date: Tue, 11 Jun 2024 17:05:15 -0700 Subject: [PATCH] Separate gaming configurations --- configuration.nix | 7 +------ gaming.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 gaming.nix diff --git a/configuration.nix b/configuration.nix index eb28e8f..d7d6769 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,6 +5,7 @@ ./networking.nix ./users.nix ./coding.nix + ./gaming.nix ]; time.timeZone = "America/Los_Angeles"; @@ -28,11 +29,5 @@ services.displayManager.defaultSession = "cinnamon"; - programs.steam = { - enable = true; - remotePlay.openFirewall = true; - dedicatedServer.openFirewall = true; - }; - system.stateVersion = "24.05"; } diff --git a/gaming.nix b/gaming.nix new file mode 100644 index 0000000..c8008f9 --- /dev/null +++ b/gaming.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + }; +}