nix-config/roles/minimal-terminal.nix

53 lines
1.1 KiB
Nix

{
config,
pkgs,
lib,
...
}: {
imports = [
../modules/home-manager/terminal/zsh.nix
../modules/home-manager/terminal/git.nix
../modules/home-manager/terminal/zellij
../modules/home-manager/terminal/ssh-agent.nix
../modules/home-manager/terminal/direnv.nix
];
home.packages = with pkgs; [
sshfs
just
fd
sd
curl
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
};
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;
ripgrep.enable = true;
bat.enable = true;
btop.enable = true;
man.enable = true;
};
}