- https://app.cachix.org/cache/cuda-maintainers
- https://discourse.nixos.org/t/cuda-cache-for-nix-community/56038
- RSA Key erstellen und public key zu den deploy keys eintragen:
ssh-keygen -f ~/.ssh/id_github_deploy -t ed25519 -q -N ""
- Pub key anzeigen:
cat ~/.ssh/id_github_deploy.pub
- Schlüssel im Project als Deploy key eintragen.
- Repo clonen, in den Ordner wechseln und git konfigurieren:
git clone git@github.com:QFL-Lab/llm-chatbot.git --config core.sshCommand="ssh -i ~/.ssh/id_github_deploy" && cd nixos-configurationgit config pull.rebase false && git config --global user.name "Nikolas Longen" && git config --global user.email "nikolaslongen@gmail.com"
- Rebuild mit configuration.nix aus github repo:
sudo nixos-rebuild -I nixos-config=./hosts/$(newHostname)/configuration.nix switch- Nach dem ersten aufrufen wird mit
base.nixein alias gesetzt, damit man sich das-I ...sparen kann