add create-devenv
and develop
aliases
This commit is contained in:
parent
5a8f369e02
commit
0c6ce9596a
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue