New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate deploying updates to the macs #40
Conversation
- Upgrade to Nix 2 across the board - Set up more stable garbage collection - Fix mac9 - Use LnL's nix-darwin to manage the version of Nix deployed To update and deploy: $ ./update-channels $ ./deploy.sh You MUST already have setup your SSH config to know how to connect to mac{1..9} but I'm not going to document that here.
macs/deploy.sh
Outdated
echo "Copying derivation to $host" | ||
|
||
# A lame version of nix-copy-closure since we can't SSH directly in | ||
# as a trusted user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we SSH in as a trusted user?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could! Taking this to PM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
@@ -0,0 +1,7 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this JSON stuff for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To track and pin the versions of the "channels" being deployed, to keep it from being a floating version.
Is this still relevant @grahamc ? |
Nope :) |
of Nix deployed
To update and deploy:
You MUST already have setup your SSH config to know
how to connect to mac{1..9} but I'm not going to document that
here.