2025-09-24 03:05:30 -04:00
|
|
|
{ config, pkgs, inputs, system ? "x86_64-linux", username ? "abby", ... }:
|
2025-07-07 23:54:50 -04:00
|
|
|
|
|
|
|
|
{
|
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
|
# paths it should manage.
|
2025-09-10 18:10:40 -04:00
|
|
|
home.username = username;
|
|
|
|
|
home.homeDirectory = "/home/${username}";
|
2025-07-07 23:54:50 -04:00
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
|
|
2025-08-19 15:11:15 -04:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
tmux
|
2025-09-29 00:51:48 -04:00
|
|
|
inputs.oscgoesbrrr.packages.${system}.default
|
2025-11-30 16:25:47 -05:00
|
|
|
oscavmgr
|
|
|
|
|
vrcadvert
|
2025-10-23 17:14:38 -04:00
|
|
|
alcom
|
|
|
|
|
vesktop
|
2025-11-03 18:40:57 -05:00
|
|
|
vrcx
|
2025-11-30 16:25:47 -05:00
|
|
|
mpv
|
|
|
|
|
vlc
|
2025-10-23 17:17:21 -04:00
|
|
|
moonlight-qt
|
2025-11-03 18:40:57 -05:00
|
|
|
|
2025-09-29 00:51:48 -04:00
|
|
|
# htop
|
2025-09-24 03:05:30 -04:00
|
|
|
#inputs.baballonia.${system}.default
|
2025-11-03 18:40:57 -05:00
|
|
|
] ++ lib.optionals (system == "x86-linux")
|
|
|
|
|
(import ./unity_vrchat.nix {pkgs = pkgs; }).packages
|
|
|
|
|
++ lib.optionals (false) [
|
|
|
|
|
inputs.nixgl.nixGLIntel
|
2025-11-30 16:25:47 -05:00
|
|
|
] ++ [
|
|
|
|
|
stardust-xr-server
|
|
|
|
|
stardust-xr-sphereland
|
|
|
|
|
stardust-xr-protostar
|
|
|
|
|
stardust-xr-magnetar
|
|
|
|
|
stardust-xr-kiara
|
|
|
|
|
stardust-xr-gravity
|
|
|
|
|
stardust-xr-flatland
|
|
|
|
|
stardust-xr-atmosphere
|
2025-11-03 18:40:57 -05:00
|
|
|
];
|
2025-10-23 17:14:38 -04:00
|
|
|
|
2025-08-19 15:11:15 -04:00
|
|
|
|
|
|
|
|
# Wayvr customization
|
|
|
|
|
xdg.configFile."wlxoverlay/openxr_actions.json5" = {
|
|
|
|
|
source = ./xdg/wlxoverlay_openxr_actions.json5;
|
|
|
|
|
};
|
|
|
|
|
|
2025-07-07 23:54:50 -04:00
|
|
|
# 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: []
|
|
|
|
|
'';
|
|
|
|
|
|
2025-11-03 22:57:36 -05:00
|
|
|
# Make vrchat pictures folder more accessable
|
|
|
|
|
home.file."Pictures/VRChat".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.local/share/Steam/steamapps/compatdata/438100/pfx/drive_c/users/steamuser/Pictures/VRChat";
|
|
|
|
|
|
2025-07-07 23:54:50 -04:00
|
|
|
# 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" :
|
|
|
|
|
[
|
2025-11-30 16:25:47 -05:00
|
|
|
"${pkgs.opencomposite}/lib/opencomposite"
|
2025-07-07 23:54:50 -04:00
|
|
|
],
|
|
|
|
|
"version" : 1
|
|
|
|
|
}
|
|
|
|
|
'';
|
2025-09-22 21:13:51 -04:00
|
|
|
|
2025-11-30 16:25:47 -05:00
|
|
|
# For bsb2e cameras
|
|
|
|
|
systemd.user.services.go-bsb-cams = {
|
|
|
|
|
Unit = {
|
|
|
|
|
Description = "Go bsb cams";
|
|
|
|
|
};
|
|
|
|
|
Install = {
|
|
|
|
|
WantedBy = [ "default.target" ];
|
|
|
|
|
};
|
|
|
|
|
unitConfig = {
|
|
|
|
|
Type = "simple";
|
|
|
|
|
};
|
|
|
|
|
Service = {
|
|
|
|
|
ExecStart = "${inputs.go-bsb-cam.packages.${system}.default}/bin/go-bsb-cams";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
2025-09-26 21:18:14 -04:00
|
|
|
# Emacs stuff - ported from dotfiles repo
|
2025-09-22 21:13:51 -04:00
|
|
|
services.emacs = {
|
|
|
|
|
enable = false;
|
|
|
|
|
package = with pkgs; (
|
|
|
|
|
(emacsPackagesFor emacs-pgtk).emacsWithPackages(
|
|
|
|
|
epkgs: [epkgs.vterm]
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
defaultEditor = true;
|
|
|
|
|
};
|
2025-09-26 17:51:52 -04:00
|
|
|
xdg.configFile."emacs" = {
|
|
|
|
|
source = ./xdg/emacs;
|
|
|
|
|
recursive = true;
|
|
|
|
|
};
|
2025-09-26 21:18:14 -04:00
|
|
|
|
|
|
|
|
# Other misc conf files
|
|
|
|
|
xdg.configFile."kitty/kitty.conf".source = ./xdg/kitty/kitty.conf;
|
2025-09-29 00:51:48 -04:00
|
|
|
home.file.".zshrc".source = xdg/zshrc;
|
2025-09-26 21:18:14 -04:00
|
|
|
|
2025-07-07 23:54:50 -04:00
|
|
|
}
|