nosrebuild changes

This commit is contained in:
Philipp Hochkamp 2022-11-04 04:25:10 +01:00
parent de24b6d88b
commit 6a0d496a0b
No known key found for this signature in database
GPG key ID: 3676AB4CB36E5641

View file

@ -7,5 +7,7 @@ REV=$(curl https://api.github.com/repos/thexyno/nixos-config/branches/main | jq
if [[ $(uname) == "Linux" ]]; then
sudo nixos-rebuild switch --flake "github:thexyno/nixos-config?rev=$REV"
else # Darwin
/nix/var/nix/profiles/system/sw/bin/darwin-rebuild switch --flake "github:thexyno/nixos-config?rev=$REV" --update-input private "git+ssh://git@github.com/thexyno/nixos-config-private"
darwin-rebuild switch \
--flake "github:thexyno/nixos-config?rev=$REV" \
--update-input private 'git+ssh://git@github.com/thexyno/nixos-config-private'
fi