about summary refs log tree commit diff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
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