aboutsummaryrefslogtreecommitdiff
path: root/hosts/tahoe/services.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-06fix(services/drone): enable droneFranck Cuny1-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-05feat(hosts/tahoe): enable gitea againFranck Cuny1-0/+4
2022-10-29ref(hosts/tahoe): disable cgit/gerrit/buildkite/sourcegraphFranck Cuny1-10/+0
Since I'm moving everything back to GitHub I don't need to run these services anymore.
2022-07-08fix(tahoe/backups): don't backup some directoriesFranck Cuny1-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-10fix(fmt): correct formatting for all nix filesFranck Cuny1-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-30feat(hosts/tahoe): enable buildkite agentFranck Cuny1-0/+1
Change-Id: I12cc741bdfb074f7d2a006547860362176afe372 Reviewed-on: https://cl.fcuny.net/c/world/+/169 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-29ref(tahoe): remove droneFranck Cuny1-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-27feat(hosts/tahoe): replace gitea by cgitFranck Cuny1-2/+1
Change-Id: I3b00408d7550d7660fb33940ae2cd0806076f4d2 Reviewed-on: https://cl.fcuny.net/c/world/+/62 Reviewed-by: Franck Cuny <franck.cuny@gmail.com>
2022-05-26feat(tahoe): enable gerritFranck Cuny1-0/+4
2022-05-22feat(tahoe): enable sourcegraphFranck Cuny1-0/+4
2022-05-02tahoe: enable exec runner for droneFranck Cuny1-1/+1
2022-04-24backups: do backups for the laptopFranck Cuny1-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-21syncthing: enable on tahoeFranck Cuny1-0/+1
2022-04-13drone: configuration fixesFranck Cuny1-1/+1
2022-04-13drone: initial attempt at configuring itFranck Cuny1-0/+6
2022-04-13modules: make the vhost be configurableFranck Cuny1-3/+9
2022-04-13grafana: correct domain name ...Franck Cuny1-1/+1
2022-04-13grafana: the vhost is configurableFranck Cuny1-1/+4
2022-04-13nginx: get a simple solution to work firstFranck Cuny1-13/+1
2022-04-13nginx: add nginx as a reverse proxyFranck Cuny1-1/+14
This will ultimately replace traefik.
2022-04-11tahoe: fix backup configurationFranck Cuny1-2/+3
2022-04-10secrets: move all the secrets under module/Franck Cuny1-3/+3
Refactor a bit the configuration, which should simplify the management and usage of secrets from now on.
2022-04-10add a module for backup with resticFranck Cuny1-10/+4
Do a single backup for the host, instead of running multiple ones.
2022-04-08hosts: add services to tahoeFranck Cuny1-7/+2
2022-04-06refactor transmission and metrics-exporterFranck Cuny1-6/+2
2022-04-06refactor traefikFranck Cuny1-1/+1
2022-04-06refactor rclone to a moduleFranck Cuny1-2/+1
2022-04-06refactor gitea as a moduleFranck Cuny1-0/+4
2022-04-06refactor grafana as a moduleFranck Cuny1-1/+1
2022-04-06refactor prometheus as a moduleFranck Cuny1-1/+1
2022-04-06refactor unifi to a moduleFranck Cuny1-1/+1
2022-04-06refactor navidrome to a moduleFranck Cuny1-4/+9
2022-04-06refactor samba to a proper moduleFranck Cuny1-1/+5
The list of public share is configurable too.
2022-04-02nas: add videos to the backupsFranck Cuny1-7/+2
We also don't need the music-organizer anymore since we're switching to beets.
2022-03-28nas: initial setup for navidromeFranck Cuny1-0/+1
2022-03-27nas: install music-organizer from the main branchFranck Cuny1-0/+1
2022-03-27nas: install correctly music-organizerFranck Cuny1-1/+1
2022-03-27nas: install music-organizerFranck Cuny1-3/+5
2022-03-12hosts: add profilesFranck Cuny1-9/+10
Profiles contain a collection of modules.
2022-03-11nas: enable rclone configurationFranck Cuny1-0/+1
2022-03-08gitea: initial configurationFranck Cuny1-0/+1
2022-03-08nas: backup photos and musicFranck Cuny1-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-06unifi: add unifi on the NASFranck Cuny1-0/+1
2022-03-06nas: install transmissionFranck Cuny1-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-06traefik: second attempt, simpleFranck Cuny1-12/+0
2022-03-06traefik: initial configurationFranck Cuny1-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-05backups: unit to run maintenance on my backupsFranck Cuny1-0/+1
This will be run via a timer once a day, to perform maintenance on my backups on the nas.
2022-02-28grafana: initial configurationFranck Cuny1-0/+1
2022-02-28prometheus: initial configuration for the serverFranck Cuny1-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-27nas: consume everything from the server profileFranck Cuny1-0/+1
2022-02-27NAS: initial configurationFranck Cuny1-0/+7
For now we only want samba on it.