| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2022-03-07 | Delete all old code and configuration to start from scratch with Guix only | EuAndreh | 1 | -129/+0 | |
| Delete files related to: - Terraform - opt/* - scripts/deploy - secrets/* - git-crypt - Nix | |||||
| 2021-07-29 | WIP reactivate nixvps with Terraform and nixos-rebuild on Vultr | EuAndreh | 1 | -28/+18 | |
| 2021-07-29 | mv servers{ => /active}/nixvps | EuAndreh | 1 | -0/+0 | |
| 2021-02-25 | Add WIP servers/nixvps/ | EuAndreh | 1 | -0/+0 | |
| 2021-02-21 | mv vps/ servers/vps/ | EuAndreh | 1 | -0/+0 | |
| 2021-02-21 | Move VPS files into vps/ | EuAndreh | 1 | -0/+0 | |
| 2021-02-21 | Add vps_ prefix to existing resources | EuAndreh | 1 | -14/+14 | |
| 2021-02-21 | git mv vultr.tf vps.tf | EuAndreh | 1 | -0/+0 | |
| 2021-01-18 | git mv vps.tf vultr.tf | EuAndreh | 1 | -0/+0 | |
| 2021-01-15 | Checkpoint: Working vps.tf declaration after Vultr migration | EuAndreh | 1 | -12/+14 | |
| 2021-01-15 | vps.tf: Use UUID for snapshot_id | EuAndreh | 1 | -6/+4 | |
| 2021-01-15 | vps.tf: Migrate to vultr 2.1.2 (WIP) | EuAndreh | 1 | -19/+18 | |
| The basic plan is working, but applying gives some errors due to API changes from Vultr. | |||||
| 2021-01-15 | vps.tf: terraform fmt | EuAndreh | 1 | -1/+1 | |
| 2021-01-15 | vps.tf: expand | EuAndreh | 1 | -1/+1 | |
| 2021-01-15 | Merge versions.tf into vps.tf | EuAndreh | 1 | -0/+10 | |
| 2020-11-28 | vps.tf: Add CNAME "*" subdomain alias | EuAndreh | 1 | -0/+7 | |
| 2020-11-27 | vps.tf: Add IPv6 output | EuAndreh | 1 | -1/+5 | |
| 2020-11-26 | Terraform: Add email DNS records (DKIM, DMARC, SPF) | EuAndreh | 1 | -0/+67 | |
| 2020-11-18 | Remove duplicated Vultr provider version | EuAndreh | 1 | -1/+0 | |
| 2020-11-18 | Remove most Nix files | EuAndreh | 1 | -2/+1 | |
| 2020-11-16 | Add base Guix configuration and start switching to it | EuAndreh | 1 | -2/+2 | |
| - remove NixOS stateVersion from .envrc; - add guix-reconfigure.sh; - add vps.scm with initial Guix system configuration; - update vps.tf to use the new "base-guix" snapshot. The "base-guix" image doesn't need a password. The "andreh" users has one, but it is configured for not requiring it when running commands as "sudo". The expected minimal steps one has to go through for privilege scalation is via the SSH private key, and accessing the VPS via SSH. Since password login is disabled and root can't login via SSH either, only the private SSH key allows access to the server. After that, the attacker will be able to run commands as root. | |||||
| 2020-08-29 | Revert to old snapshot id | EuAndreh | 1 | -2/+1 | |
| 2020-08-29 | Build new VPS server from snapshot using bigger machine | EuAndreh | 1 | -2/+3 | |
| I'm using the snapshot here because I don't have any backup system yet, ¯\_(ツ)_/¯ This should be reverted on vps.tf after applying, and I should get down to doing automatic backups. | |||||
| 2020-08-25 | Enable automatic backup for VPS server | EuAndreh | 1 | -0/+1 | |
| 2020-08-15 | Use new image with ownership of /etc/nixos/configuration.nix by user | EuAndreh | 1 | -1/+1 | |
| Useful reference: - https://discourse.nixos.org/t/can-i-move-etc-nixos-to-my-dotfiles-and-symlink-it-back-to-etc-nixos/4833/10 | |||||
| 2020-08-10 | Semi working setup: Terraform and LetsEncrypt working | EuAndreh | 1 | -33/+2 | |
| 2020-08-10 | Interactive Terraform plan -> apply cycle | EuAndreh | 1 | -4/+4 | |
| 2020-08-10 | Use new image with new SSH key and andreh user | EuAndreh | 1 | -1/+1 | |
| 2020-08-10 | WIP: Move to Vultr and NixOS | EuAndreh | 1 | -68/+38 | |
| 2020-08-06 | Remove gpodder.net sync software from the server | EuAndreh | 1 | -12/+0 | |
| 2020-08-05 | Add gpodder container initial implementation | EuAndreh | 1 | -0/+12 | |
| 2020-08-02 | Remove all wallabag references left | EuAndreh | 1 | -12/+0 | |
| 2020-08-02 | Use a name from the environment for the names of the host and the volume | EuAndreh | 1 | -2/+12 | |
| 2020-08-02 | vps.tf: Name VPS volume derived from droplet name | EuAndreh | 1 | -1/+1 | |
| 2020-08-02 | vps.tf: Add missing host to digitalocean_droplet due to update | EuAndreh | 1 | -0/+1 | |
| 2020-08-02 | vps.tf: Update to new Terraform syntax | EuAndreh | 1 | -21/+21 | |
| 2019-06-11 | Comment sections of vps.tf | EuAndreh | 1 | -0/+8 | |
| 2019-06-10 | Output all generated files on ./generated/, refactor .envrc variables | EuAndreh | 1 | -1/+1 | |
| 2019-06-10 | Provision DNS entries using DigitalOcean instead of DNS registrar | EuAndreh | 1 | -28/+50 | |
| This way we can implement dynamic (provision-time) Floating IP, instead of a hardcoded pre-created Floating IP address. Related changes: - remove =terraform-godaddy= provider, use =digitalocean_record= instead; - create =generated-known-hosts= after provisioning instead of during =setup.sh=: use the =$(terraform output public_floating_ip)= value to make this file dynamic; - remote the =$PINNED_IP= and =$TF_VAR_floating_ip= variables; - add type and descriptions to variable declarations in Terraform recipe. | |||||
| 2019-06-08 | Format vps.tf (terraform linter offense) | EuAndreh | 1 | -3/+3 | |
| 2019-06-08 | Use terraform-godaddy and Terraform 0.11 | EuAndreh | 1 | -8/+14 | |
| The =terraform-godaddy= package supports only Terraform 0.11 as of now. It is not packaged by default by nixpkgs, and the =postInstall= hook is required because Terraform looks for providers usinthe the =terraform-provider-$name= template, which the package doesn't follow. I had to remove the loop on vps.tf since it requires Terraform 0.12. I'll either wait for =terraform-godaddy= to upgrade to 0.12 or try to do it myself if it bothers me enough. | |||||
| 2019-06-08 | Provision DNS entries with Terraform! :tada: | EuAndreh | 1 | -0/+22 | |
| Before all the DNS entries had to be entered manually on the web UI. | |||||
| 2019-06-05 | Format vps.tf (linter offense) | EuAndreh | 1 | -1/+1 | |
| 2019-06-05 | Add volume to VPS | EuAndreh | 1 | -0/+13 | |
| Don't destroy everything on deploy. This would destroy the volume too. | |||||
| 2019-06-05 | Format vps.tf (linter offense) | EuAndreh | 1 | -1/+1 | |
| 2019-06-05 | Use Ansible instead of Bash for provisioning | EuAndreh | 1 | -5/+11 | |
| The deployment is not quite working, and I'm unable to test right now: DigitalOcean is returning 503 for my requests. As of this commit, I can run =ansible-playbook provider.yml= more than once and it will actually be idempotent. Notes: - SSH fingerprint are now taken from the public key file instead of manually supplying it in the terraform template using the =digitalocean_ssh_key= resource; - use Ansible instead of ad-hoc Bash scripts for provisioning the Droplets created by Terraform; - use the =filename.env.extension= to create the concrete files in CI; - use the =user_data= to add the know SSH key pair to the newly created Droplet; - add =rotate-ssh-keys.sh= utils; | |||||
| 2019-05-28 | Fix vps.tf formatting (linter offense) | EuAndreh | 1 | -1/+1 | |
| 2019-05-28 | Use Floating IP on Droplet | EuAndreh | 1 | -0/+6 | |
| 2019-05-28 | Use correct Droplet size slug | EuAndreh | 1 | -1/+1 | |
| Taken from https://developers.digitalocean.com/documentation/v2/#list-all-sizes | |||||
| 2019-05-28 | Rename ./secrets/id_rsa{.pub} -> ./secrets/vps_box{.pub} | EuAndreh | 1 | -1/+1 | |
