This repository has been archived on 2024-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config/home-manager/este.nix

67 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2023-12-26 14:48:53 -06:00
{
config,
pkgs,
...
}: {
home = {
username = "jahanson";
homeDirectory = "/home/jahanson";
2023-12-26 14:48:53 -06:00
};
2024-03-04 16:58:14 -06:00
# basic configuration of git, please change to your own
2023-12-26 14:48:53 -06:00
programs.git = {
enable = true;
userName = "Joseph Hanson";
userEmail = "joe@veri.dev";
};
2024-02-10 12:35:31 -06:00
# Fish configuration
2023-12-26 14:48:53 -06:00
programs.fish = {
enable = true;
shellAliases = {
# lsd
ls = "lsd";
ll = "lsd -l";
la = "lsd -a";
lt = "lsd --tree";
lla = "lsd -la";
# other
df = "df -h";
du = "du -h";
};
# rtx hook-env | source
# rtx activate fish | source
2023-12-26 16:47:00 -06:00
shellInit = ''
2023-12-27 08:47:51 -06:00
direnv hook fish | source
set -gx PATH $PATH $HOME/.krew/bin
2023-12-26 16:47:00 -06:00
'';
2024-03-10 22:24:59 -05:00
interactiveShellInit = ''
atuin init fish | source
'';
2023-12-26 14:48:53 -06:00
functions = {
fish_greeting = {
description = "Set the fish greeting";
2024-02-23 13:13:11 -06:00
body = "fastfetch";
2023-12-26 14:48:53 -06:00
};
};
};
# Packages that should be installed to the user profile.
2023-12-26 14:48:53 -06:00
home.packages = with pkgs; [
# here is some command line tools I use frequently
# feel free to add your own or remove some of them
# nix related
#
# it provides the command `nom` works just like `nix`
# with more details log output
nix-output-monitor
];
home.stateVersion = "23.11";
programs.home-manager.enable = true;
}