diff options
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection index 793ae448..4b5c68e1 100644 --- a/include/osdetection +++ b/include/osdetection @@ -207,6 +207,11 @@ OS_NAME="Gentoo Linux" OS_VERSION="Rolling release" ;; + "ipfire") + LINUX_VERSION="IPFire" + OS_NAME="IPFire" + OS_VERSION=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "kali") LINUX_VERSION="Kali" OS_NAME="Kali Linux" @@ -230,6 +235,12 @@ OS_NAME="Manjaro" OS_VERSION="Rolling release" ;; + "nixos") + LINUX_VERSION="NixOS" + OS_NAME="NixOS" + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "ol") LINUX_VERSION="Oracle Linux" OS_NAME="Oracle Linux" |