{ config, pkgs, lib, ... }: { home.username = "johannes"; home.homeDirectory = if pkgs.stdenv.isDarwin then "/Users/johannes" else "/home/johannes"; home.stateVersion = "24.05"; home.packages = with pkgs; [ git curl wget neovim ripgrep fd nushell starship zoxide lazygit fastfetch atuin zellij herdr unp carapace bun nodejs pipx python3 uv rustup cargo-binstall mise television pay-respects sops age ]; home.file = { ".config" = { source = ./config; recursive = true; }; ".local/share" = { source = ./local_share; recursive = true; }; ".local/bin" = { source = ./local_bin; recursive = true; }; ".agents" = { source = ./agents; recursive = true; }; ".pi" = { source = ./pi; recursive = true; }; }; age.identityPaths = [ "${config.home.homeDirectory}/.config/age/keys.txt" ]; age.secrets."git_config" = { file = ./secrets/git_config.age; path = "${config.home.homeDirectory}/.config/git/config"; }; age.secrets."jj_config" = { file = ./secrets/jj_config.age; path = "${config.home.homeDirectory}/.config/jj/config.toml"; }; fonts.fontconfig.enable = true; home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] '' if [ ! -d "$HOME/.config/nvim" ]; then ${pkgs.git}/bin/git clone https://github.com/jokresner/nvim "$HOME/.config/nvim" fi ''; programs.home-manager.enable = true; }