76 lines
1.4 KiB
Nix
76 lines
1.4 KiB
Nix
{ config, ... }:
|
|
let
|
|
name = "Matthew Ess";
|
|
email = "mat@mat.services";
|
|
in {
|
|
imports = [ <home-manager/nixos> ];
|
|
|
|
home-manager.useUserPackages = true;
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.users.mat = { pkgs, ... }: {
|
|
home = {
|
|
sessionVariables = { EDITOR = "vim"; };
|
|
packages = with pkgs; [
|
|
# nix utilities
|
|
cachix
|
|
niv
|
|
nixfmt
|
|
nix-prefetch-git
|
|
fish-foreign-env
|
|
# command line utils
|
|
ripgrep
|
|
rlwrap
|
|
tealdeer
|
|
unrar
|
|
mullvad-vpn
|
|
];
|
|
};
|
|
|
|
programs = {
|
|
bat.enable = true;
|
|
broot.enable = true;
|
|
command-not-found.enable = true;
|
|
direnv.enable = true;
|
|
fish.enable = true;
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "${name}";
|
|
userEmail = "${email}";
|
|
ignores = [ ".*.sw[a-z]" "tags" ];
|
|
extraConfig = {
|
|
color.ui = true;
|
|
core.editor = "vim";
|
|
push.default = "simple";
|
|
init.defaultBranch = "main";
|
|
};
|
|
};
|
|
|
|
htop = {
|
|
enable = true;
|
|
highlightBaseName = true;
|
|
};
|
|
|
|
man.enable = true;
|
|
|
|
ssh = {
|
|
enable = true;
|
|
serverAliveInterval = 60;
|
|
};
|
|
|
|
starship.enable = true;
|
|
|
|
tmux = {
|
|
enable = true;
|
|
keyMode = "vi";
|
|
newSession = true;
|
|
shortcut = "a";
|
|
baseIndex = 1;
|
|
};
|
|
};
|
|
services = { lorri.enable = true; };
|
|
|
|
};
|
|
}
|