78 lines
2.1 KiB
Nix
78 lines
2.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Home Manager needs a bit of information about you and the
|
|
# paths it should manage.
|
|
home.username = "abby";
|
|
home.homeDirectory = "/home/abby";
|
|
|
|
# This value determines the Home Manager release that your
|
|
# configuration is compatible with. This helps avoid breakage
|
|
# when a new Home Manager release introduces backwards
|
|
# incompatible changes.
|
|
#
|
|
# You can update Home Manager without changing this value. See
|
|
# the Home Manager release notes for a list of state version
|
|
# changes in each release.
|
|
home.stateVersion = "25.05";
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
tmux
|
|
htop
|
|
];
|
|
|
|
# Wayvr customization
|
|
xdg.configFile."wlxoverlay/openxr_actions.json5" = {
|
|
source = ./xdg/wlxoverlay_openxr_actions.json5;
|
|
};
|
|
|
|
# For wayvr-dashboard/wlx integration
|
|
xdg.configFile."wlxoverlay/wayvr.conf.d/dashboard.yaml".text = ''
|
|
dashboard:
|
|
exec: "/run/current-system/sw/bin/wayvr-dashboard"
|
|
args: ""
|
|
env: []
|
|
'';
|
|
|
|
# For Monado:
|
|
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json";
|
|
|
|
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
|
|
{
|
|
"config" :
|
|
[
|
|
"${config.xdg.dataHome}/Steam/config"
|
|
],
|
|
"external_drivers" : null,
|
|
"jsonid" : "vrpathreg",
|
|
"log" :
|
|
[
|
|
"${config.xdg.dataHome}/Steam/logs"
|
|
],
|
|
"runtime" :
|
|
[
|
|
"${pkgs.opencomposite}/lib/opencomposite"
|
|
],
|
|
"version" : 1
|
|
}
|
|
'';
|
|
|
|
# Custom proton version for vrchat
|
|
# https://github.com/SpookySkeletons/proton-ge-rtsp/releases for new releases
|
|
home.file = {
|
|
".steam/steam/compatibilitytools.d/proton-ge-rtsp" = {
|
|
source = pkgs.fetchzip {
|
|
url = "https://github.com/SpookySkeletons/proton-ge-rtsp/releases/download/GE-Proton9-22-rtsp17-1/GE-Proton9-22-rtsp17-1.tar.gz";
|
|
sha256 = "sha256-GeExWNW0J3Nfq5rcBGiG2BNEmBg0s6bavF68QqJfuX8=";
|
|
};
|
|
# source = builtins.fetchGit {
|
|
# url = "https://github.com/SpookySkeletons/proton-ge-rtsp";
|
|
# rev = "a0bd24515522a708c7503f3f2c057d91f58750ef";
|
|
# };
|
|
};
|
|
};
|
|
}
|