Skip to content

Configuration and deployment of the mastodon server bzh.social leveraging nix, NixOS, and Github Actions for continuous integration & deployment

Notifications You must be signed in to change notification settings

bzh-social/bzh-systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bzh.social

Setup

NixOS on Hetzner Cloud

  • Setup hetzner cloud server with latest Ubuntu
  • Drop in your ssh key by going through the web interface
  • ssh into the machine
  • follow steps with nixos-infect

Deploy / Apply changes

  • Log into any NixOS host with ssh access to the server
nixos-rebuild --use-remote-sudo --target-host [email protected] switch --flake .#bzh-social

Update system

  • manually update inputs in flake.nix if necessary
  • run nix flake udpate
  • commit the changed flake.lock
  • see above for deployment

Update mastodon

  • the mastodon package from current stable channel is used
  • to update mastodon, update the nixpkgs input in flake.nix as soon as a new version is available
  • see above for updating the system

About

Configuration and deployment of the mastodon server bzh.social leveraging nix, NixOS, and Github Actions for continuous integration & deployment

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages