magic config :3

This commit is contained in:
nora 2025-03-02 15:10:20 +01:00
parent 5f616975dc
commit 6e3a82cb6c
2 changed files with 17 additions and 1 deletions

View file

@ -37,6 +37,15 @@ in
enable = true;
};
programs.eza = {
enable = true;
git = true;
};
programs.ripgrep.enable = true;
programs.fd.enable = true;
programs.fish = {
enable = true;
interactiveShellInit = ''
@ -50,6 +59,14 @@ in
shellAliases = {
x = "CARGO_MOMMYS_ACTUAL=${lib.getExe customPkgs.x} ${lib.getExe' pkgs.cargo-mommy "cargo-mommy"}";
};
functions = {
"scratch" = {
description = "Makes a temporary directory and moves into it";
body = ''
cd "$(mktemp --tmpdir -d scratchXXXXXXXXX)"
'';
};
};
};
programs.home-manager.enable = true;