dots/modules/hosts/home-manager-only/default.nix
Gene Liverman d65a11ef8f
Added WezTerm, updated OMP theme's coffee cup glyph
Not using the Home Manager module to manage WezTerm due to using
Homebrew to install it on macOS.

Large parts of this came from Gemini but little bits here and there also
came from ChatGPT and Claude (aka whatever I could use at the moment).

Co-authored-by: Gemini <gemini@google.com>
Co-authored-by: ChatGPT <chatgpt@openai.com>
Co-authored-by: Claude <claude@anthropic.com>
2026-04-08 15:04:58 -04:00

33 lines
902 B
Nix

{
config,
pkgs,
system,
username,
...
}:
{
home.stateVersion = "25.05";
home.packages = with pkgs; [
age
home-manager
sops
ssh-to-age
];
# home-manager switch --flake ~/repos/dots
programs.zsh.shellAliases = {
nixdiff = "cd ~/repos/dots && home-manager build --flake .#${username}-${system} && nvd diff ${config.home.homeDirectory}/.local/state/nix/profiles/home-manager result";
nixup = "home-manager switch --flake ~/repos/dots#${username}-${system}";
};
sops = {
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
defaultSopsFile = ./secrets.yaml;
secrets = {
local_git_config.path = "${config.home.homeDirectory}/.gitconfig-local";
local_private_env.path = "${config.home.homeDirectory}/.private-env";
};
};
xdg.configFile."wezterm/wezterm.lua".source = ../../shared/files/wezterm/wezterm.lua;
}