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