nix-config/roles/home-manager/minimal-terminal.nix

55 lines
1 KiB
Nix

{
config,
pkgs,
lib,
...
}: {
imports = [
../../configs/home-manager/btop.nix
../../configs/home-manager/direnv.nix
../../configs/home-manager/ssh-agent.nix
../../configs/home-manager/zsh.nix
../../configs/home-manager/zellij
];
user = {
git.enable = lib.mkDefault true;
nvim.enable = lib.mkDefault true;
};
home.packages = with pkgs; [
sshfs
just
fd
sd
curl
rsync
];
home.sessionVariables = {
PIPENV_VENV_IN_PROJECT = 1;
POETRY_VIRTUALENVS_IN_PROJECT = 1;
};
home.sessionPath = [
"$HOME/.nix-profile/bin/"
"$HOME/.local/bin/"
"$HOME/.cargo/bin/"
"/opt/"
];
home.shellAliases = {
# doc2pdf = "loffice --convert-to-pdf --headless *.docx";
sshmnt = "sshfs -o idmap=user,compression=no,reconnect,follow_symlinks,dir_cache=yes,ServerAliveInterval=15";
};
programs = {
yazi.enable = true;
fzf.enable = true;
eza.enable = true;
ripgrep.enable = true;
bat.enable = true;
man.enable = true;
};
}