You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is already partly done with the GitHub Actions script for updating flake inputs, but right now the results of the CI are not saved to any cache because my Cachix cache is full.
So if I implement #299, I could be setting it for Cetus, ask it to upload there, and just automatically download the new system from main using something like the following:
...or a custom systemd service if autoUpgrade is too limited:
systemd.services.auto-deploy={description="Auto deploy NixOS config from flake";serviceConfig={Type="oneshot";ExecStart=''${pkgs.git}/bin/git -C /etc/nixos pull${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake /etc/nixos#hostname '';};# custom user for this service here, also sec settings to limit damage};
deploy-rs/colmena: could be useful but more for the servers Cetus and Hercules than the PCs Lyra and Cassiopeia, because their awake time is determined by when I use them? This can somewhat be changed for Lyra but not Cassiopeia, it's a laptop.
Activity