This commit is contained in:
nora 2024-03-08 21:16:18 +01:00
parent 6b855c4edb
commit e0d759c09d
3 changed files with 20 additions and 19 deletions

View file

@ -1,7 +1,11 @@
{ lib
, pkgs
, ...
}: {
}:
let
customPkgs = import ../custom-pkgs/default.nix pkgs;
in
{
programs.neovim.enable = true;
home.file.".cargo/config.toml" = {
@ -21,6 +25,20 @@
enable = true;
};
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
shellAbbrs = {
flamegraph = "perf script | inferno-collapse-perf | inferno-flamegraph > out.svg && firefox out.svg";
g = "git";
};
shellAliases = {
x = "CARGO_MOMMYS_ACTUAL=${lib.getExe customPkgs.x} ${lib.getExe' pkgs.cargo-mommy "cargo-mommy"}";
};
};
programs.home-manager.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion