added 'roles', sets of installed programs.

This commit is contained in:
Gabe Venberg 2024-05-09 13:11:22 -05:00
parent f180fc20f1
commit 43a47321e4
7 changed files with 50 additions and 22 deletions

View file

@ -0,0 +1,52 @@
{
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;
};
}

38
roles/terminal.nix Normal file
View file

@ -0,0 +1,38 @@
{
config,
pkgs,
lib,
...
}: {
imports = [
./minimal-terminal.nix
../modules/home-manager/terminal/nushell
../modules/home-manager/terminal/starship.nix
../modules/home-manager/terminal/voice.nix
../modules/home-manager/terminal/tiny-irc.nix
];
home.packages = with pkgs; [
tre-command
diskonaut
hyperfine
];
# 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.shellAliases = {
# doc2pdf = "loffice --convert-to-pdf --headless *.docx";
};
programs = {
zoxide.enable = true;
tealdeer.enable = true;
};
}