zenix: update and tidy

This commit is contained in:
tristan 2024-12-20 17:45:47 +00:00
parent 43c05553ff
commit 1a86b02fe4
6 changed files with 117 additions and 123 deletions

View file

@ -12,15 +12,10 @@
gamescope
gamemode
mangohud
BeatSaberModManager
# BeatSaberModManager - out of date: https://github.com/NixOS/nixpkgs/pull/339370
protontricks
protonup-qt
oversteer
xboxdrv
# VR
# monado -- build is borked /:
openxr-loader
opencomposite
];
}

View file

@ -1,30 +1,34 @@
{
pkgs,
# config,
config,
...
}: {
home.packages = with pkgs; [
openxr-loader
opencomposite
];
services.monado.enable = true;
systemd.user.services.monado.environment = {
STEAMVR_LH_ENABLE = "true";
XRT_COMPOSITOR_SCALE_PERCENTAGE = "200";
};
home.file.".config/openxr/1/openxr_monado.json" = {
source = "${pkgs.monado}/share/openxr/1/openxr_monado.json";
};
# home.file.".config/openvr/openvrpaths.vrpath" = {
# text = ''
# {
# "config" :
# [
# "${config.home.homeDirectory}/.local/share/Steam/config"
# ],
# "external_drivers" : null,
# "jsonid" : "vrpathreg",
# "log" :
# [
# "${config.home.homeDirectory}/.local/share/Steam/logs"
# ],
# "runtime" :
# [
# "${pkgs.opencomposite}/lib/opencomposite"
# ],
# "version" : 1
# }
# '';
# };
home.file.".config/openvr/openvrpaths.vrpath" = {
text = builtins.toJSON {
"config" = [
"${config.home.homeDirectory}/.local/share/Steam/config"
];
"external_drivers" = null;
"jsonid" = "vrpathreg";
"log" = [
"${config.home.homeDirectory}/.local/share/Steam/logs"
];
"runtime" = [
"${pkgs.opencomposite}/lib/opencomposite"
];
"version" = 1;
};
};
}