about summary refs log tree commit diff
path: root/users/wpcarro/nixos/diogenes/README.md
blob: 75741f0244dea377103ff8ac99be41492bf2fb1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# diogenes

diogenes is a NixOS machine deployed on a Google VM. It hosts
https://wpcarro.dev.

## Deployment

I manage diogenes's deployment with Terraform. My current workflow looks like
this (highly subject to change):

```shell
cd /tmp/terraform # or any directory that hosts terraform state
outpath=$(nix-build /depot -A users.wpcarro.nixos.diogenes)
cp <out-path> .
nix-shell -p terraform google-cloud-sdk # gcloud to authenticate if necessary
terraform init/apply
```