zsh: nixify: Use shell.nix instead of default.nix
This commit is contained in:
parent
3cde9104c8
commit
9be160d26c
|
@ -61,7 +61,7 @@ nixify() {
|
|||
direnv allow
|
||||
fi
|
||||
if [[ ! -e shell.nix ]] && [[ ! -e default.nix ]]; then
|
||||
cat > default.nix << EOF
|
||||
cat > shell.nix << EOF
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.mkShell {
|
||||
|
@ -69,7 +69,7 @@ pkgs.mkShell {
|
|||
];
|
||||
}
|
||||
EOF
|
||||
${EDITOR:-vim} default.nix
|
||||
vim shell.nix
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue