NixOS support
Merge pull request #425 from cosmo0920/nixos-support

NixOS support