diff options
author | EuAndreh <eu@euandre.org> | 2019-05-31 06:49:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-31 06:51:15 -0300 |
commit | 03a9f6965e88f385cfedcd56f6867e34cc97e2bd (patch) | |
tree | 52ae1406620456b265cee48cf5a6d5ab019fc6bc /public/install-nixos.sh | |
parent | Add template.nix as public (published) file (diff) | |
download | dotfiles-03a9f6965e88f385cfedcd56f6867e34cc97e2bd.tar.gz dotfiles-03a9f6965e88f385cfedcd56f6867e34cc97e2bd.tar.xz |
Use nix-shell shebang for public/install-nixos.sh
Diffstat (limited to 'public/install-nixos.sh')
-rwxr-xr-x[-rw-r--r--] | public/install-nixos.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/install-nixos.sh b/public/install-nixos.sh index fbb826e..311205f 100644..100755 --- a/public/install-nixos.sh +++ b/public/install-nixos.sh @@ -1,4 +1,6 @@ -#!/usr/bin/env bash +#!/usr/bin/env nix-shell +#!nix-shell --pure -i bash -p bash jq envsubst +# shellcheck shell=bash set -Eeuo pipefail # download nix files before starting |