21 lines
570 B
Nix
21 lines
570 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.shellAliases = {
|
|
# NixOS
|
|
flakedate = "doas nix flake update --flake /etc/nixos";
|
|
nhs = "doas nh os switch -R /etc/nixos";
|
|
nhu = "flakedate && nhs";
|
|
|
|
nixclean = "nix store gc; nix store optimise";
|
|
nixpurge = "doas nix-collect-garbage --delete-old";
|
|
nixscrub = "nixclean; nixpurge";
|
|
|
|
# Shortcuts
|
|
ff = "clear && fastfetch";
|
|
ip = "ip -c";
|
|
cat = "${pkgs.bat}/bin/bat --paging never";
|
|
copycat = "wl-copy <";
|
|
myip = "curl ifconfig.co";
|
|
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";
|
|
};
|
|
}
|