63 lines
1.5 KiB
Nix
63 lines
1.5 KiB
Nix
{ config, pkgs, username ? "abby", ... }:
|
|
|
|
{
|
|
# Home Manager needs a bit of information about you and the
|
|
# paths it should manage.
|
|
home.username = username;
|
|
home.homeDirectory = "/home/${username}";
|
|
|
|
# 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
|
|
}
|
|
'';
|
|
}
|