Skip to content
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

[WIP] Nix #545

Open
wants to merge 160 commits into
base: master
Choose a base branch
from
Open

[WIP] Nix #545

wants to merge 160 commits into from

Conversation

yorickvP
Copy link
Member

@yorickvP yorickvP commented May 1, 2022

Deze PR voegt de 2 servers samen naar 1 dienstenserver, en defineert de configuratie van deze server volledig, met behulp van Nix(OS). Op basis van deze configuratie kunnen VM's en servers gegenereerd worden:

$ nix-build -A vm
$ ./result/bin/run-vipassana-vm
$ ./result/bin/ssh

Deze commando's starten in je terminal een KVM-vm.

Ook kan hiermee makkelijk een lichtere devomgeving met alle nodige dependencies opgezet worden:

$ nix-shell
$ python manage.py

WERKEND:

TODO:

  • acme ssl keys
  • mailman
  • DNS
  • postfix configuratie
  • mediawiki (upstream module: port naar nginx nodig?)
  • LDAP
  • ldap permissies fout na een slapd restart?
  • logcheck-fouten uitzoeken
  • wachtwoorden (CHANGE ME, asdf)
  • ipython shell voor kndjango administratie
  • mongodb authenticatie
  • locaties instellen voor geüploade media
  • hetzner cloud deployment
  • VM-tests
  • /smoelen/grafiek/member-count.pdf
  • ci size-optimalisatie: media-dir symlinken naar andere drv

Dit is nog lang niet af, maar ik hoor graag of deze wijziging de goede kant op gaat. Hulp bij sommige van deze aanpassingen wordt natuurlijk ook gewaardeerd.

Dingen die we in de toekomst willen doen:

  • mailman 3.2
  • mail authenticatie zonder LDAP
  • django en andere dependency upgrades

Fixes #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overstappen op Python 3
3 participants