Nix build file
Various little tweaks