summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-28 09:21:44 -0800
committerTim Smith <tsmith@chef.io>2018-11-28 09:21:44 -0800
commite3857bb12f0b186afe4f58513571d940f5a1e44e (patch)
treef9ba0ced31656bdccfdc9d042376957c33fe0982
parentaf633604e28442884b131dd51a09738251d5f2b6 (diff)
downloadohai-nixos.tar.gz
Add nixos platform_familynixos
This is an entirely unique Linux distro. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/linux/platform.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb
index 96beb4cf..59ae7815 100644
--- a/lib/ohai/plugins/linux/platform.rb
+++ b/lib/ohai/plugins/linux/platform.rb
@@ -173,6 +173,8 @@ Ohai.plugin(:Platform) do
"alpine"
when /clearlinux/
"clearlinux"
+ when /nixos/
+ "nixos"
end
end