{ config, lib, pkgs, inputs, ... }: { imports = [ inputs.home-manager.nixosModules.default ]; environment.systemPackages = with pkgs; [ util-linux rclone neovim fd jq btop lshw gnupg git git-lfs ranger nixfmt aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science fishPlugins.done fishPlugins.fzf-fish fishPlugins.forgit killall nodejs libtool grc fzf ispell fishPlugins.grc unzip ripgrep usbutils sqlite silver-searcher bat exfatprogs eza screen libsecret cmake gnumake gcc lazygit ]; programs.git = { package = pkgs.gitFull; enable = true; config = { user = { email = "joe@5sigma.io"; }; # credential.helper = "libsecret"; }; # aliases = { # aa = "add --all"; # c = "commit"; # co = "checkout"; # st = "status"; # }; }; programs.dconf.enable = true; programs.partition-manager.enable = true; environment.variables = { EDITOR = "nvim"; ERL_AFLAGS = "-kernel shell_history enabled"; }; environment.sessionVariables.NIXOS_OZONE_WL = "1"; users.users.joe.shell = pkgs.zsh; home-manager.users.joe = { home.file.".p10k.zsh".source = ./dotfiles/p10k.zsh; programs = { zoxide = { enable = true; enableZshIntegration = true; }; direnv = { enable = true; enableBashIntegration = true; enableZshIntegration = true; }; }; programs = { zsh = { enable = true; enableCompletion = true; initContent = '' source ~/.p10k.zsh bindkey -v bindkey '^R' history-incremental-search-backward alias cat=bat ''; zplug = { enable = true; plugins = [ { name = "zsh-users/zsh-autosuggestions"; } { name = "zsh-users/zsh-completions"; } { name = "zsh-users/zsh-syntax-highlighting"; } { name = "plugins/git"; tags = [ "from:oh-my-zsh" ]; } { name = "romkatv/powerlevel10k"; tags = [ "as:theme" "depth:1" ]; } ]; }; }; }; }; programs = { zsh = { enable = true; enableCompletion = true; autosuggestions.enable = true; syntaxHighlighting.enable = true; }; }; }