class Specinfra::Helper::DetectOs::Nixos

Public Instance Methods

detect() click to toggle source
# File lib/specinfra/helper/detect_os/nixos.rb, line 2
def detect
  if run_command('ls /var/run/current-system/sw').success?
    { :family => 'nixos', :release => nil }
  end
end