user rename

This commit is contained in:
müde 2026-02-01 12:23:07 +01:00
parent 1b9e61f630
commit 82631191ea
33 changed files with 36 additions and 36 deletions

View file

@ -0,0 +1,30 @@
{ config, pkgs, ... }:
{
config.programs.zsh = {
initContent = ''
export PATH=$PATH:$HOME/.cargo/bin
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
'';
enableCompletion = true;
shellAliases = {
myos-rebuild-boot = "sudo nixos-rebuild boot --flake .# --show-trace --log-format internal-json -v |& ${pkgs.nix-output-monitor}/bin/nom --json";
myos-rebuild-switch = "sudo nixos-rebuild switch --flake .# --show-trace --log-format internal-json -v |& ${pkgs.nix-output-monitor}/bin/nom --json";
s = "nix-shell -p";
my-direnvallow = "echo \"use nix\" > .envrc && direnv allow";
my-ip4 = "ip addr show | grep 192";
deadnix = "nix run github:astro/deadnix -- ";
statix = "nix run github:oppiliappan/statix -- ";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
expireDuplicatesFirst = true;
};
};
}