{ config, lib, pkgs, profile, username, ... }: with lib; let gpgCfg = config.modules.gpg; in { imports = [ ../../modules/home ../../modules/options ../../profiles/${profile} ]; modules.zsh.enable = true; modules.shell.defaultShell = "zsh"; home = { inherit username; homeDirectory = "/home/${username}"; stateVersion = "25.11"; packages = with pkgs; [ git tldr tmux vim-full wl-clipboard ]; }; programs.git = { enable = true; settings = { user = { name = "Joshua Yuen"; email = "joshuayuen99@gmail.com"; signingkey = mkIf (gpgCfg.signingKey != null) gpgCfg.signingKey; }; commit.gpgsign = true; init.defaultBranch = "main"; }; }; # Enable GPG-agent for git signing modules.gpg.enable = true; # Let Home Manager install and manage itself programs.home-manager.enable = true; }