Switch over to nix flakes and introduce podman pods #26

Manually merged
tlater merged 5 commits from tlater/flake into master 2021-04-12 02:16:38 +01:00

This completely revamps the server configuration. In a nutshell:

  • Switch over to using a proper flake instead of git-ing /etc/nixos/
  • Create a proper declarative derivation for the web server
  • Use podman and pods and a real module for it instead of the awful, hacky networked-docker-container
  • Abolish jwilder/nginx-proxy in favor of a nixos-maintained nginx

One casualty of this was the minecraft server, but this had fallen into disuse anyway.

Migration will probably not be the simplest thing (mainly because moving docker volumes will probably be a challenge), but that's a thought for another weekend.

This completely revamps the server configuration. In a nutshell: - Switch over to using a proper flake instead of git-ing `/etc/nixos/` - Create a proper declarative derivation for the web server - Use podman and pods and a real module for it instead of the awful, hacky `networked-docker-container` - Abolish `jwilder/nginx-proxy` in favor of a nixos-maintained nginx One casualty of this was the minecraft server, but this had fallen into disuse anyway. Migration will probably not be the simplest thing (mainly because moving docker volumes will probably be a challenge), but that's a thought for another weekend.
tlater added 5 commits 2021-04-12 02:09:31 +01:00
5e87a5ec0c
Start reworking the server for nix flakes
This removes all existing services as well, in preparation of moving
them to `podman`. These are easier to update to
virtualisation.oci-containers while retaining the "networks" through
pods.
tlater manually merged commit 40002ac76e into master 2021-04-12 02:16:38 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tlaternet/tlaternet-server#26
There is no content yet.