Files
nixfiles/home.nix
2025-09-28 15:05:11 -04:00

84 lines
2.1 KiB
Nix

{ config, pkgs, inputs, system ? "x86_64-linux", 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
#inputs.baballonia.${system}.default
];
# 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
}
'';
# Emacs stuff - ported from dotfiles repo
services.emacs = {
enable = false;
package = with pkgs; (
(emacsPackagesFor emacs-pgtk).emacsWithPackages(
epkgs: [epkgs.vterm]
)
);
defaultEditor = true;
};
xdg.configFile."emacs" = {
source = ./xdg/emacs;
recursive = true;
};
# Other misc conf files
xdg.configFile."kitty/kitty.conf".source = ./xdg/kitty/kitty.conf;
home.file.".zshrc".source = .xdg/zshrc;
}