nix-dotfiles/hm_modules/shell_aliases.nix

18 lines
494 B
Nix

{
home.shellAliases = {
"jc" = "sudo journalctl";
"jcu" = "journalctl --user";
"nb" = "nix build";
"nf" = "find /nix/store/ -maxdepth 1 | grep";
"nr" = "nix repl";
"nR" = "nix run";
"ns" = "nix search nixpkgs";
"nsu" = "nix search unstable";
"nss" = "nix search stable";
"nS" = "nix shell";
"sc" = "sudo systemctl";
"scu" = "systemctl --user";
};
# programs.bash = { inherit shellAliases; };
# programs.zsh = { inherit shellAliases; };
}