mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +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 = {
|
sconfig = {
|
||||||
gnome = true;
|
gnome = true;
|
||||||
profile = "desktop";
|
profile = "desktop";
|
||||||
gaming.enable = true;
|
|
||||||
horizon.enable = true;
|
horizon.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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"; };
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
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
|
||||||
|
|
Loading…
Reference in a new issue