dots/modules/hosts/home-manager-only/default.nix
Gene Liverman 29756db2b0
Added & themed 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 20:49:39 -04:00

43 lines
1.1 KiB
Nix

{
config,
pkgs,
system,
username,
...
}:
{
home.stateVersion = "25.05";
dconf.settings = {
# This is so that SUPER + D, the default for showing the desktop
# in GNOME, can instead be used by WezTerm
"org/gnome/desktop/wm/keybindings" = {
show-desktop = [ ];
};
};
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}";
pbcopy = "wl-copy";
};
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;
}