some vr config

This commit is contained in:
Kopatz
2024-12-21 20:48:29 +01:00
parent 786b315fbf
commit 0114a4d6c7
5 changed files with 49 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ in {
options.custom.graphical.games = {
enable = mkEnableOption "Enables games";
enablePreinstalled = mkEnableOption "Enables preinstalled games";
enableVr = mkEnableOption "Enables VR support";
};
config = mkIf cfg.enable {
@@ -24,6 +25,11 @@ in {
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
nixpkgs.config.permittedInsecurePackages = [
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-wrapped-7.0.20"
];
environment.systemPackages = [ pkgs.mangohud ]
++ optionals cfg.enablePreinstalled (with pkgs; [
#taisei
@@ -35,6 +41,7 @@ in {
steamtinkerlaunch
#tetrio-desktop #fuck you osk
#libs
]);
]) ++ optionals cfg.enableVr (with pkgs; [ beatsabermodmanager ]);
};
}