merge gaming module to desktop profile

This commit is contained in:
Sean Buckley 2023-02-16 15:09:55 -05:00
parent 01050525a0
commit fdf58746fc
5 changed files with 2 additions and 22 deletions

View file

@ -3,7 +3,6 @@
sconfig = {
gnome = true;
profile = "desktop";
gaming.enable = true;
horizon.enable = true;
};

View file

@ -4,7 +4,6 @@
gnome = true;
profile = "desktop";
horizon.enable = true;
gaming.enable = true;
wg-home.enable = true;
};

View file

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

View file

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

View file

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