Build and push to cachix

This commit is contained in:
Charlotte Van Petegem 2022-01-11 21:32:18 +01:00
parent 26a8a56225
commit ada5ab5685
No known key found for this signature in database
GPG key ID: 019E764B7184435A
6 changed files with 62 additions and 8 deletions

View file

@ -6,7 +6,7 @@ nix flake update
if [ -z "${OVERRIDE:-}" ]
then
su -c "nixos-rebuild --flake . --build-host root@urithiru switch"
su -c "nixos-rebuild --flake . switch"
else
su -c "nixos-rebuild --flake . --build-host root@urithiru --override-input nixpkgs ../nixpkgs --no-write-lock-file switch"
su -c "nixos-rebuild --flake . --override-input nixpkgs ../nixpkgs --no-write-lock-file switch"
fi