update scripts for NixOS