| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2023-12-08 | delete configuration for old machines | Franck Cuny | 1 | -21/+0 | |
| These machines are gone, no need to keep the configuration around. | |||||
| 2023-08-20 | remove `sendsms` from tahoe | Franck Cuny | 1 | -2/+0 | |
| 2023-05-12 | profiles/monitoring: move loki to a profile | Franck Cuny | 1 | -4/+0 | |
| Add a nginx virtualhost for loki too, so that we can use a valid SSL certificate. | |||||
| 2023-05-12 | profiles/monitoring: move promtail to a profile | Franck Cuny | 1 | -1/+0 | |
| 2023-05-12 | profiles/monitoring: move node exporter to a profile | Franck Cuny | 1 | -1/+0 | |
| 2023-05-12 | hosts: move around backup configuration | Franck Cuny | 1 | -15/+1 | |
| 2023-05-12 | profiles/backup: configure the backup server | Franck Cuny | 1 | -16/+0 | |
| It creates the user, ensure sftp is configured correctly, and rsync the backups to rsync.net once a day. | |||||
| 2023-05-10 | profiles/syncthing: move the old module | Franck Cuny | 1 | -1/+0 | |
| 2023-05-10 | profiles/samba: convert the old module as a profile | Franck Cuny | 1 | -4/+0 | |
| 2023-05-10 | profiles/git-server: move gitolite and cgit | Franck Cuny | 1 | -8/+0 | |
| 2023-05-10 | profiles/music-server: moved navidrome | Franck Cuny | 1 | -5/+0 | |
| 2023-05-10 | profiles/unifi: move the module to a profile | Franck Cuny | 1 | -5/+0 | |
| Get rid of configuration that was duplicated (a lot of things are already handled by the upstream module). | |||||
| 2023-05-09 | hosts/tahoe: don't load transmission | Franck Cuny | 1 | -4/+0 | |
| I need to set a password. | |||||
| 2023-05-09 | profiles/nginx: move common configuration to a profile | Franck Cuny | 1 | -1/+0 | |
| Both tahoe and carmel are using nginx, and we can simplify the configuration by moving common parts to the profile and have these hosts import it. | |||||
| 2023-05-08 | profile/acme: default DNS provider is gandi | Franck Cuny | 1 | -5/+4 | |
| Add the API key for gandi to the secrest, create a profile for acme with my defaults. The profile is loaded by tahoe since that's where our services are running on. Update all the servers in nginx to listen on their wireguard interface. | |||||
| 2023-04-30 | hosts/tahoe: enable rsync-ing backups to rsync.net | Franck Cuny | 1 | -0/+7 | |
| 2023-04-29 | hosts/tahoe: disable rclone | Franck Cuny | 1 | -1/+0 | |
| Backups are not synchronized with rclone to gcloud, but instead with rsync to rsync.net. | |||||
| 2023-04-29 | hosts/tahoe: update settings related to restic | Franck Cuny | 1 | -14/+5 | |
| The path to the restic repository has changed, and we are a bit more specific about the paths we want to backup. | |||||
| 2023-04-29 | hosts/tahoe: rename account for backup and enable sftp for it | Franck Cuny | 1 | -0/+8 | |
| The dedicated account for backup should be named 'backup', as it's more generic. While it's a system account, I still need to be able to log in the host remotely with sftp, so we give it a UID (991). The account needs to be able to sftp to tahoe in order to store the backups from remote hosts. However we don't want this user to get a shell and be able to browse the host, so we configure sshd to chroot the user to where the backups are stored. | |||||
| 2023-04-23 | hosts/tahoe: loki and prometheus listen only on the wg0 interface | Franck Cuny | 1 | -4/+7 | |
| I don't want to have to deal with authentication and TLS certificates for these endpoints. If they are only listening on the wireguard interface I can trust that only authorized hosts are sending traffic to these endpoints. I trust what's running on these machines. | |||||
| 2023-04-23 | modules/monitoring: consolidate all monitoring services together | Franck Cuny | 1 | -10/+12 | |
| This will help to organize and structure monitoring modules a bit better. | |||||
| 2023-04-23 | modules/services: add loki and promtail | Franck Cuny | 1 | -0/+7 | |
| 2023-03-27 | modules/sendsms: gate the unit with a file | Franck Cuny | 1 | -0/+2 | |
| To prevent the unit to be triggered multiple times if the host has already rebooted, we create a gate file when we're done running, and before running, we check if the file exists. Enable the service on tahoe. Don't restart the unit when its definition has changed. | |||||
| 2023-03-02 | ref(hosts/tahoe): don't install sendsms | Franck Cuny | 1 | -1/+0 | |
| It's not working as I want, let's fix it first then we can enable it again later. | |||||
| 2023-03-02 | feat(hosts/tahoe): install gitolite and cgit | Franck Cuny | 1 | -9/+6 | |
| Replace gitea with gitolite + cgit. I don't need a whole git forge for myself, especially since I don't use most of the features. The main thing I'm losing with this change is CI (via drone), but this is not really a big loss for now. | |||||
| 2023-01-19 | ref(hosts/tahoe): exclude more paths from backups | Franck Cuny | 1 | -0/+7 | |
| 2023-01-16 | ref(tahoe/backups): backup fewer things | Franck Cuny | 1 | -2/+10 | |
| I don't need to backup videos, and the cache of my home directory. I also don't need to keep that many snapshots around. | |||||
| 2023-01-09 | fix(hosts/tahoe): mask mdmonitor | Franck Cuny | 1 | -0/+5 | |
| This is a broken unit and I don't need it (see https://github.com/nixos/nixpkgs/issues/72394). | |||||
| 2022-11-30 | feat(hosts/tahoe): enable `sendsms` module | Franck Cuny | 1 | -0/+1 | |
| 2022-11-06 | fix(services/drone): enable drone | Franck Cuny | 1 | -0/+6 | |
| The URL for drone changed to https://ci.fcuny.net. The secrets also changed (and we remove the unencrypted file with secrets). | |||||
| 2022-11-05 | feat(hosts/tahoe): enable gitea again | Franck Cuny | 1 | -0/+4 | |
| 2022-10-29 | ref(hosts/tahoe): disable cgit/gerrit/buildkite/sourcegraph | Franck Cuny | 1 | -10/+0 | |
| Since I'm moving everything back to GitHub I don't need to run these services anymore. | |||||
| 2022-07-08 | fix(tahoe/backups): don't backup some directories | Franck Cuny | 1 | -0/+1 | |
| I don't need to backup these directories in my home. Change-Id: Ia2302f2ebe74033090b86b52864787d2a63ecb4b Reviewed-on: https://cl.fcuny.net/c/world/+/620 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net> | |||||
| 2022-06-10 | fix(fmt): correct formatting for all nix files | Franck Cuny | 1 | -1/+2 | |
| This was done by running `nixpkgs-fmt .'. Change-Id: I4ea6c1e759bf468d08074be2111cbc7af72df295 Reviewed-on: https://cl.fcuny.net/c/world/+/404 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net> | |||||
| 2022-05-30 | feat(hosts/tahoe): enable buildkite agent | Franck Cuny | 1 | -0/+1 | |
| Change-Id: I12cc741bdfb074f7d2a006547860362176afe372 Reviewed-on: https://cl.fcuny.net/c/world/+/169 Reviewed-by: Franck Cuny <franck@fcuny.net> | |||||
| 2022-05-29 | ref(tahoe): remove drone | Franck Cuny | 1 | -9/+1 | |
| I will not be using drone anymore, and will likely replace it with buildkite. Change-Id: I45d91c43090aaba119855158e071dae377c1897f Reviewed-on: https://cl.fcuny.net/c/world/+/162 Reviewed-by: Franck Cuny <franck@fcuny.net> | |||||
| 2022-05-27 | feat(hosts/tahoe): replace gitea by cgit | Franck Cuny | 1 | -2/+1 | |
| Change-Id: I3b00408d7550d7660fb33940ae2cd0806076f4d2 Reviewed-on: https://cl.fcuny.net/c/world/+/62 Reviewed-by: Franck Cuny <franck.cuny@gmail.com> | |||||
| 2022-05-26 | feat(tahoe): enable gerrit | Franck Cuny | 1 | -0/+4 | |
| 2022-05-22 | feat(tahoe): enable sourcegraph | Franck Cuny | 1 | -0/+4 | |
| 2022-05-02 | tahoe: enable exec runner for drone | Franck Cuny | 1 | -1/+1 | |
| 2022-04-24 | backups: do backups for the laptop | Franck Cuny | 1 | -1/+2 | |
| From the laptop I only backup /home/fcuny, as the rest should be straightforward to rebuild with nix. I run that backup as my own user, since I need my ssh key to use the remote repository (which is on the NAS). I also need a new secret for it (I might have been able to use `pass' for this, but well, that's easy enough). For the NAS, I update the list of directories to backup to include home, this will be on the systems backup. | |||||
| 2022-04-21 | syncthing: enable on tahoe | Franck Cuny | 1 | -0/+1 | |
| 2022-04-13 | drone: configuration fixes | Franck Cuny | 1 | -1/+1 | |
| 2022-04-13 | drone: initial attempt at configuring it | Franck Cuny | 1 | -0/+6 | |
| 2022-04-13 | modules: make the vhost be configurable | Franck Cuny | 1 | -3/+9 | |
| 2022-04-13 | grafana: correct domain name ... | Franck Cuny | 1 | -1/+1 | |
| 2022-04-13 | grafana: the vhost is configurable | Franck Cuny | 1 | -1/+4 | |
| 2022-04-13 | nginx: get a simple solution to work first | Franck Cuny | 1 | -13/+1 | |
| 2022-04-13 | nginx: add nginx as a reverse proxy | Franck Cuny | 1 | -1/+14 | |
| This will ultimately replace traefik. | |||||
| 2022-04-11 | tahoe: fix backup configuration | Franck Cuny | 1 | -2/+3 | |
| 2022-04-10 | secrets: move all the secrets under module/ | Franck Cuny | 1 | -3/+3 | |
| Refactor a bit the configuration, which should simplify the management and usage of secrets from now on. | |||||
| 2022-04-10 | add a module for backup with restic | Franck Cuny | 1 | -10/+4 | |
| Do a single backup for the host, instead of running multiple ones. | |||||
| 2022-04-08 | hosts: add services to tahoe | Franck Cuny | 1 | -7/+2 | |
| 2022-04-06 | refactor transmission and metrics-exporter | Franck Cuny | 1 | -6/+2 | |
| 2022-04-06 | refactor traefik | Franck Cuny | 1 | -1/+1 | |
| 2022-04-06 | refactor rclone to a module | Franck Cuny | 1 | -2/+1 | |
| 2022-04-06 | refactor gitea as a module | Franck Cuny | 1 | -0/+4 | |
| 2022-04-06 | refactor grafana as a module | Franck Cuny | 1 | -1/+1 | |
| 2022-04-06 | refactor prometheus as a module | Franck Cuny | 1 | -1/+1 | |
| 2022-04-06 | refactor unifi to a module | Franck Cuny | 1 | -1/+1 | |
| 2022-04-06 | refactor navidrome to a module | Franck Cuny | 1 | -4/+9 | |
| 2022-04-06 | refactor samba to a proper module | Franck Cuny | 1 | -1/+5 | |
| The list of public share is configurable too. | |||||
| 2022-04-02 | nas: add videos to the backups | Franck Cuny | 1 | -7/+2 | |
| We also don't need the music-organizer anymore since we're switching to beets. | |||||
| 2022-03-28 | nas: initial setup for navidrome | Franck Cuny | 1 | -0/+1 | |
| 2022-03-27 | nas: install music-organizer from the main branch | Franck Cuny | 1 | -0/+1 | |
| 2022-03-27 | nas: install correctly music-organizer | Franck Cuny | 1 | -1/+1 | |
| 2022-03-27 | nas: install music-organizer | Franck Cuny | 1 | -3/+5 | |
| 2022-03-12 | hosts: add profiles | Franck Cuny | 1 | -9/+10 | |
| Profiles contain a collection of modules. | |||||
| 2022-03-11 | nas: enable rclone configuration | Franck Cuny | 1 | -0/+1 | |
| 2022-03-08 | gitea: initial configuration | Franck Cuny | 1 | -0/+1 | |
| 2022-03-08 | nas: backup photos and music | Franck Cuny | 1 | -0/+12 | |
| Instead of rsync-ing these folders to a GCS bucket, I should instead do a backup. If I screw up something, the content will be sync-ed, and I won't be able to restore it. It's better (maybe more expensive, but that's OK) to keep snapshots and be able to restore. | |||||
| 2022-03-06 | unifi: add unifi on the NAS | Franck Cuny | 1 | -0/+1 | |
| 2022-03-06 | nas: install transmission | Franck Cuny | 1 | -0/+8 | |
| Create a user and group 'nas' so we can run tranmission in it. This will also help us to enable some specific permissions on some directories. | |||||
| 2022-03-06 | traefik: second attempt, simple | Franck Cuny | 1 | -12/+0 | |
| 2022-03-06 | traefik: initial configuration | Franck Cuny | 1 | -0/+12 | |
| I want to run traefik on the NAS, so I can reach grafana and other future services running on that host. To manage TLS, we use let's encrypt with a DNS challenge. For this to work we need a service account configuration, that is encrypted with age. | |||||
| 2022-03-05 | backups: unit to run maintenance on my backups | Franck Cuny | 1 | -0/+1 | |
| This will be run via a timer once a day, to perform maintenance on my backups on the nas. | |||||
| 2022-02-28 | grafana: initial configuration | Franck Cuny | 1 | -0/+1 | |
| 2022-02-28 | prometheus: initial configuration for the server | Franck Cuny | 1 | -0/+1 | |
| Run prometheus via systemd, and configure to pull node-exporter's metrics from two hosts. The retention is set for 3 years. | |||||
| 2022-02-27 | nas: consume everything from the server profile | Franck Cuny | 1 | -0/+1 | |
| 2022-02-27 | NAS: initial configuration | Franck Cuny | 1 | -0/+7 | |
| For now we only want samba on it. | |||||
