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 = { sconfig = {
gnome = true; gnome = true;
profile = "desktop"; profile = "desktop";
gaming.enable = true;
horizon.enable = true; horizon.enable = true;
}; };

View file

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

View file

@ -18,7 +18,6 @@ in
sconfig = { sconfig = {
gnome = true; gnome = true;
profile = "desktop"; profile = "desktop";
gaming.enable = true;
horizon.enable = true; horizon.enable = true;
wg-home = { enable = true; path = "${persist}/wireguard_home.conf"; }; 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; with lib;
{ {
config = mkIf (config.sconfig.profile == "desktop") { config = mkIf (config.sconfig.profile == "desktop") {
programs.steam.enable = true;
services.pcscd.enable = true; services.pcscd.enable = true;
virtualisation.podman.enable = true; virtualisation.podman.enable = true;
@ -42,6 +43,7 @@ with lib;
glxinfo glxinfo
gnome3.dconf-editor gnome3.dconf-editor
# helvum # <- TODO # helvum # <- TODO
obs-studio
opensc opensc
pavucontrol pavucontrol
qemu_full qemu_full