diff --git a/nixos/zsh.nix b/nixos/zsh.nix index e7c7f27..caaa8e4 100755 --- a/nixos/zsh.nix +++ b/nixos/zsh.nix @@ -91,6 +91,8 @@ lsa = "eza -lah ${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"; 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";