add VR stuff and mitmproxy

This commit is contained in:
MFlossmann 2024-10-13 13:58:00 +02:00
parent bdbe95c141
commit 1d4d55fd2c
3 changed files with 46 additions and 3 deletions

View file

@ -3,8 +3,9 @@
localCfg = config.myNixOS.bundles.gaming;
in {
options = {
myNixOS.bundles.gaming.remotePlay = lib.mkEnableOption {
default = true;
myNixOS.bundles.gaming = {
remotePlay = lib.mkEnableOption { default = true; };
alvr = lib.mkEnableOption { default = false; };
};
};
@ -22,4 +23,9 @@ in {
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${mainUser}/.steam/root/compatibilitytools.d";
};
programs.alvr = {
enable = localCfg.alvr;
openFirewall = localCfg.alvr;
};
}