{ pkgs, ... }: let name = "Xe"; email = "me@christine.website"; commitTemplate = pkgs.writeTextFile { name = "cadey-commit-template"; text = '' Signed-off-by: ${name} <${email}> ''; }; in { imports = [ ../../home-manager ]; within = { fish.enable = true; htop.enable = true; neofetch.enable = true; powershell.enable = true; tmux.enable = true; vim.enable = true; }; services.lorri.enable = true; home.packages = with pkgs; [ cachix niv nixfmt mosh gist bind unzip ]; programs.direnv.enable = true; programs.direnv.enableFishIntegration = true; programs.direnv.nix-direnv.enable = true; programs.direnv.nix-direnv.enableFlakes = true; programs.git = { package = pkgs.gitAndTools.gitFull; enable = true; userName = name; userEmail = email; ignores = [ "*~" "*.swp" "*.#" ]; delta.enable = true; extraConfig = { commit.template = "${commitTemplate}"; core.editor = "vim"; color.ui = "auto"; credential.helper = "store --file ~/.git-credentials"; format.signoff = true; init.defaultBranch = "main"; protocol.keybase.allow = "always"; pull.rebase = "true"; push.default = "current"; url = { "git@github.com:".insteadOf = "https://github.com/"; "git@ssh.tulpa.dev:".insteadOf = "https://tulpa.dev/"; }; }; }; }