]> Git — Sourcephile - julm/julm-nix.git/blob - build
adb: enable correctly
[julm/julm-nix.git] / build
1 #!/bin/sh -eux
2 cd "${0%/*}"
3 chmod -R g-rwx,o-rwx private/root
4 trap 'git reset private/root' EXIT
5 git rm -rf --cached --ignore-unmatch private/root # prevent copying to /nix/store
6 time nix -L build -o hosts/"$1".root .\#nixosConfigurations."$1".config.system.build.toplevel