20 lines
470 B
Nix
20 lines
470 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
|
|
{
|
|
programs.bash = { inherit shellAliases; };
|
|
programs.zsh = { inherit shellAliases; };
|
|
}
|