From fdf58746fc412bb6257332a3f9d7d3123ebfceda Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 16 Feb 2023 15:09:55 -0500 Subject: [PATCH] merge gaming module to desktop profile --- hosts/cube/default.nix | 1 - hosts/hp/default.nix | 1 - hosts/levi/default.nix | 1 - modules/gaming.nix | 19 ------------------- modules/profiles/desktop.nix | 2 ++ 5 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 modules/gaming.nix diff --git a/hosts/cube/default.nix b/hosts/cube/default.nix index 8cb2b68..74b4d1b 100644 --- a/hosts/cube/default.nix +++ b/hosts/cube/default.nix @@ -3,7 +3,6 @@ sconfig = { gnome = true; profile = "desktop"; - gaming.enable = true; horizon.enable = true; }; diff --git a/hosts/hp/default.nix b/hosts/hp/default.nix index 63cd7ac..81fd8af 100644 --- a/hosts/hp/default.nix +++ b/hosts/hp/default.nix @@ -4,7 +4,6 @@ gnome = true; profile = "desktop"; horizon.enable = true; - gaming.enable = true; wg-home.enable = true; }; diff --git a/hosts/levi/default.nix b/hosts/levi/default.nix index c2f695c..99d2921 100644 --- a/hosts/levi/default.nix +++ b/hosts/levi/default.nix @@ -18,7 +18,6 @@ in sconfig = { gnome = true; profile = "desktop"; - gaming.enable = true; horizon.enable = true; wg-home = { enable = true; path = "${persist}/wireguard_home.conf"; }; }; diff --git a/modules/gaming.nix b/modules/gaming.nix deleted file mode 100644 index 4f4606a..0000000 --- a/modules/gaming.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - cfg = config.sconfig.gaming; -in -{ - options.sconfig.gaming.enable = lib.mkEnableOption "Enable Gaming"; - - config = lib.mkIf cfg.enable - { - - programs.steam.enable = true; - - environment.systemPackages = with pkgs; [ - obs-studio - ]; - - }; -} diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix index ff408e2..393bcc3 100644 --- a/modules/profiles/desktop.nix +++ b/modules/profiles/desktop.nix @@ -2,6 +2,7 @@ with lib; { config = mkIf (config.sconfig.profile == "desktop") { + programs.steam.enable = true; services.pcscd.enable = true; virtualisation.podman.enable = true; @@ -42,6 +43,7 @@ with lib; glxinfo gnome3.dconf-editor # helvum # <- TODO + obs-studio opensc pavucontrol qemu_full