fish: add upgrade-nix shortcut

This commit is contained in:
John Bowdre 2024-12-02 21:29:52 -06:00
parent dc5abd1159
commit ae9bb69f1f
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo
2 changed files with 9 additions and 0 deletions

View file

@ -109,6 +109,7 @@
# Rebuild home-manager
switch-home = "home-manager switch -b backup --flake ${config.home.homeDirectory}/.dotfiles#$USER@$(hostname -s)";
switch-nix = "sudo nixos-rebuild switch --flake ${config.home.homeDirectory}/.dotfiles";
upgrade-nix = "nix-channel --update; nix-env --install --attr nixpkgs.nix nixpkgs.cacert";
# Trees
tt = "cbonsai -S -t 0.25 -c \"&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,&,🌸,🌺,💮\"";

View file

@ -0,0 +1,8 @@
{ pkgs, lib, ... }: {
imports = [
<nixvim_import>
];
programs.nixvim.enable = true;
}