nix-dotfiles/home_manager/modules/shell_aliases.nix

21 lines
510 B
Nix

{ pkgs, ... }:
let
shellAliases = {
"dkc" = "docker-compose";
"dk" = "docker";
"hm" = "home-manager";
"jc" = "sudo journalctl";
"jcu" = "journalctl --user";
"nf" = "find /nix/store/ -maxdepth 1 | grep";
"nr" = "nix run";
"ns" = "nix search nixpkgs";
"nS" = "nix shell";
"sc" = "sudo systemctl";
"scu" = "systemctl --user";
};
in
{
home = { inherit shellAliases; };
# programs.bash = { inherit shellAliases; };
# programs.zsh = { inherit shellAliases; };
}