Merge branch 'zenix/master' into nixbook/cosmic

This commit is contained in:
tristan 2025-01-16 11:47:33 +00:00
commit 270cfdc8d7
8 changed files with 86 additions and 78 deletions

View file

@ -282,5 +282,5 @@ in {
systemd.target = "hyprland-session.target";
};
systemd.user.services.hypridle.Install.WantedBy = ["hyprland-session.target"];
systemd.user.services.hypridle.Install.WantedBy = lib.mkForce ["hyprland-session.target"];
}

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

@ -32,9 +32,7 @@
home.packages = with pkgs; [
godot_4
ardour
blender
musescore
monero-gui
transmission-remote-gtk
krita

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;
};
};
}