diff options
-rwxr-xr-x | install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/install.sh b/install.sh index ff79949..97c7e98 100755 --- a/install.sh +++ b/install.sh @@ -20,6 +20,10 @@ elif [ -f /usr/bin/dnf ]; then distro="fedora" elif [ -f /sbin/apk ]; then distro="alpine" +elif grep 'ID=nixos' /etc/os-release; then + echo "NixOS is not supported by this script." + echo "Bailing out..." + exit 1 fi if [ -f /usr/bin/sudo ]; then |