add create-devenv and develop aliases

This commit is contained in:
Seaswimmer 2024-11-19 14:17:29 -05:00
parent 5a8f369e02
commit 0c6ce9596a
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -91,6 +91,8 @@
lsa = "eza -lah ${ezaArgs}"; lsa = "eza -lah ${ezaArgs}";
tree = "eza --tree --git-ignore ${ezaArgs}"; tree = "eza --tree --git-ignore ${ezaArgs}";
create-devenv = "nix flake init --template github:cachix/devenv && direnv allow";
develop = "nix develop --no-pure-eval";
nixrc = "$EDITOR /etc/nixos"; nixrc = "$EDITOR /etc/nixos";
upd = upd =
"sudo nixos-generate-config --dir /etc/nixos/hosts && sudo rm /etc/nixos/hosts/configuration.nix && sudo mv /etc/nixos/hosts/hardware-configuration.nix /etc/nixos/hosts/$(hostname).nix && git -C /etc/nixos --git-dir=/etc/nixos/.git add /etc/nixos/hosts/$(hostname).nix && sudo nixos-rebuild switch"; "sudo nixos-generate-config --dir /etc/nixos/hosts && sudo rm /etc/nixos/hosts/configuration.nix && sudo mv /etc/nixos/hosts/hardware-configuration.nix /etc/nixos/hosts/$(hostname).nix && git -C /etc/nixos --git-dir=/etc/nixos/.git add /etc/nixos/hosts/$(hostname).nix && sudo nixos-rebuild switch";