1
0
Fork 0
forked from pub-solar/infra
pub-solar-infra-new/hosts/flora-6
2023-11-15 18:54:32 +00:00
..
apps flora-6: refactor to use flake.parts 2023-11-15 18:54:32 +00:00
configuration.nix flora-6: refactor to use flake.parts 2023-11-15 18:54:32 +00:00
default.nix flora-6: refactor to use flake.parts 2023-11-15 18:54:32 +00:00
hardware-configuration.nix flora-6: refactor to use flake.parts 2023-11-15 18:54:32 +00:00
README.md flora-6: refactor to use flake.parts 2023-11-15 18:54:32 +00:00
triton-vmtools.nix flora-6: refactor to use flake.parts 2023-11-15 18:54:32 +00:00

Deploy infra branch to flora-6

Use this command after updating flake inputs to update services on flora-6.

deploy --skip-checks --confirm-timeout 300 --targets '.#flora-6'

An alternative, if deployment always fails and rolls back.

deploy --skip-checks --magic-rollback false --auto-rollback false --targets '.#flora-6'


# SSH access to flora-6
Ensure your SSH public key is in place [here](./users/barkeeper/default.nix) and
was deployed by someone with access.

ssh barkeeper@flora-6.pub.solar


# Mailman on NixOS docs

- add reverse DNS record for IP

Manual setup done for mailman, adapted from https://nixos.wiki/wiki/Mailman:

Add DNS records in infra repo using terraform:

db234cdb5b

Generate initial postfix_domains.db and postfix_lmtp.db databases for Postfix

sudo -u mailman mailman aliases

Create a django superuser account

sudo -u mailman-web mailman-web createsuperuser

Followed outlined steps in web UI