mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 19:55:08 +01:00
magic config :3
This commit is contained in:
parent
5f616975dc
commit
6e3a82cb6c
2 changed files with 17 additions and 1 deletions
|
|
@ -25,7 +25,6 @@ with pkgs; [
|
|||
jujutsu
|
||||
p7zip
|
||||
python3
|
||||
ripgrep
|
||||
rustup-toolchain-install-master
|
||||
samply
|
||||
tokei
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue