mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
merge gaming module to desktop profile
This commit is contained in:
parent
01050525a0
commit
fdf58746fc
5 changed files with 2 additions and 22 deletions
|
@ -3,7 +3,6 @@
|
|||
sconfig = {
|
||||
gnome = true;
|
||||
profile = "desktop";
|
||||
gaming.enable = true;
|
||||
horizon.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
gnome = true;
|
||||
profile = "desktop";
|
||||
horizon.enable = true;
|
||||
gaming.enable = true;
|
||||
wg-home.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -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"; };
|
||||
};
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue