Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(cgit): exclude some repositories | Franck Cuny | 2022-05-29 | 1 | -1/+8 |
| | | | | | | | | | There are a few repositories that I want to have active in gerrit but I don't want to list in cgit. Change-Id: I341801cddba0909d5c32d2653c8cc5eb8aae94ed Reviewed-on: https://cl.fcuny.net/c/world/+/124 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | fix(cgit): ensure permissions are set correctly | Franck Cuny | 2022-05-28 | 1 | -0/+2 |
| | | | | | | Change-Id: I65efa49a904ab1885bd72566e450b6678be6aa21 Reviewed-on: https://cl.fcuny.net/c/world/+/123 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | fix(cgit): define the list of repos prior to scan path | Franck Cuny | 2022-05-28 | 1 | -2/+2 |
| | | | | | | | | | | | | From the documentation for `project-list`: A list of subdirectories inside of scan-path, relative to it, that should loaded as git repositories. This must be defined prior to scan-path Change-Id: Iab176a800e8ff0abd515a525d89ef524ba6ab097 Reviewed-on: https://cl.fcuny.net/c/world/+/122 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | fix(cgit): generate a proper list of repositories | Franck Cuny | 2022-05-28 | 1 | -1/+3 |
| | | | | | | | | | | | The logic was previously incorrect. If a repository becomes hidden in gerrit, it will not be removed from the list. Instead, we create a temporary file which we use to dump the new list and then move it over the current list. Change-Id: I990588ac98ad4024ba144c4c76ad7e4ae27202bc Reviewed-on: https://cl.fcuny.net/c/world/+/121 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(gerrit): link to cgit | Franck Cuny | 2022-05-28 | 1 | -0/+14 |
| | | | | | | | | Configure gitweb to link to our cgit instance Change-Id: I55cb96e7199bf2636a30689b277978008d6605eb Reviewed-on: https://cl.fcuny.net/c/world/+/88 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(cgit): generate the list of projects from gerrit | Franck Cuny | 2022-05-28 | 1 | -4/+35 |
| | | | | | | | | | | Query the gerrit API to get the list of active projects, and generate the list of repositories from it. This run every 10 minutes as a systemd timer. Change-Id: I016a6d748597ff4d03af893e0a95b96830bdb3f7 Reviewed-on: https://cl.fcuny.net/c/world/+/87 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(cgit): set the clone URL to gerrit | Franck Cuny | 2022-05-28 | 1 | -0/+1 |
| | | | | | | Change-Id: I2328abdbd369358e59747a220fe1e57edd8c5126 Reviewed-on: https://cl.fcuny.net/c/world/+/86 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(cgit): support org mode files for README | Franck Cuny | 2022-05-28 | 1 | -0/+2 |
| | | | | | | Change-Id: Ia0b3c7e5c2b1f399f7eaf5db2e926dc3a0859790 Reviewed-on: https://cl.fcuny.net/c/world/+/85 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(gerrit): backup all relevant directories | Franck Cuny | 2022-05-28 | 1 | -0/+2 |
| | | | | | | Change-Id: I7d70a25f95cddedaba5e5186b6e7f83ddf9e7eb9 Reviewed-on: https://cl.fcuny.net/c/world/+/84 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(gerrit): enable sending emails | Franck Cuny | 2022-05-27 | 1 | -1/+10 |
| | | | | | | | | Configure gerrit to send emails using fastmail's SMTP servers. Change-Id: I658373a2c1e9b3c5dcbe214a02ebe8ca1be69580 Reviewed-on: https://cl.fcuny.net/c/world/+/81 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | fix(gerrit): set the OAUTH client ID | Franck Cuny | 2022-05-27 | 1 | -0/+5 |
| | | | | | | Change-Id: I2a5b554be29af9184ad504bcb8beca30c605e6c4 Reviewed-on: https://cl.fcuny.net/c/world/+/63 Reviewed-by: Franck Cuny <franck.cuny@gmail.com> | ||||
* | fix(gerrit): set the home directory for git | Franck Cuny | 2022-05-27 | 1 | -1/+1 |
| | | | | | | Change-Id: Idba41215b58e8cd77d8d4efa354a3acf52c6bc6d Reviewed-on: https://cl.fcuny.net/c/world/+/61 Reviewed-by: Franck Cuny <franck.cuny@gmail.com> | ||||
* | feat(cgit): add a module for cgit | Franck Cuny | 2022-05-27 | 2 | -0/+52 |
| | | | | | | | | | cgit is a git web viewer, it will be hosted at git.fcuny.net to replace gitea. Change-Id: I16561776fa90a3561d6a13f8545bd2e8f67f409a Reviewed-on: https://cl.fcuny.net/c/world/+/46 Reviewed-by: Franck Cuny <franck.cuny@gmail.com> | ||||
* | ref(gerrit): ensure the git user is present | Franck Cuny | 2022-05-26 | 1 | -0/+9 |
| | | | | Change-Id: Ie217a14a20474b626a2c66116663b785193978c2 | ||||
* | fix(gerrit): use a compatible JDK | Franck Cuny | 2022-05-26 | 1 | -0/+3 |
| | | | | Change-Id: I3fadf8a3a9a81c7966b4c048ace1ae259f0e3668 | ||||
* | fix(gerrit): install the plugin for oauth | Franck Cuny | 2022-05-26 | 1 | -2/+8 |
| | | | | Change-Id: I3e4a215b47a5a368210b268fa170aa2dddab721f | ||||
* | fix(gerrit): settings where in wrong place | Franck Cuny | 2022-05-26 | 1 | -8/+8 |
| | | | | Change-Id: I449f9032e32911fa33c26ec41faadb4f8acc8b1f | ||||
* | feat(gerrit): use OAUTH for authentication | Franck Cuny | 2022-05-26 | 1 | -0/+10 |
| | |||||
* | fix(gerrit): force gerrit to run as the git user | Franck Cuny | 2022-05-26 | 1 | -0/+11 |
| | | | | | | | The default configuration wants to run gerrit with a DynamicUser. However, this prevent the server to generate the ssh keys needed by gerrit. Instead, we can force the server to run with the 'git' user, which already exists. | ||||
* | fix(gerrit): use localhost for the proxy | Franck Cuny | 2022-05-26 | 1 | -1/+1 |
| | |||||
* | fix(gerrit): remove extra '}' from string | Franck Cuny | 2022-05-26 | 1 | -1/+1 |
| | |||||
* | fix(sourcegraph): remove extra '}' from string | Franck Cuny | 2022-05-26 | 1 | -1/+1 |
| | |||||
* | fix(gerrit): apply a serverId | Franck Cuny | 2022-05-26 | 1 | -0/+1 |
| | | | | | This identify the server (see https://github.com/NixOS/nixpkgs/blob/634141959076a8ab69ca2cca0f266852256d79ee/nixos/modules/services/web-apps/gerrit.nix#L141). | ||||
* | feat(gerrit): add the gerrit server | Franck Cuny | 2022-05-26 | 2 | -0/+51 |
| | | | | | | Gerrit is a tool for doing code review for git. It will be running at cl.fcuny.net and will be the main way to interact with my git repositories. | ||||
* | feat(modules): create a module for sourcegraph | Franck Cuny | 2022-05-22 | 2 | -0/+47 |
| | | | | | | | Run sourcegraph ([0]) in a docker container. It's exposed as cs.fcuny.xyz, and we backup some of the directories. [0] https://docs.sourcegraph.com | ||||
* | modules: fix configuration for syncthing | Franck Cuny | 2022-05-13 | 1 | -2/+2 |
| | | | | The `documents` folder was not being synced. | ||||
* | grafana: there was already something on port 3030 ... | Franck Cuny | 2022-05-12 | 1 | -1/+1 |
| | |||||
* | grafana: run on port 3030 | Franck Cuny | 2022-05-12 | 1 | -0/+1 |
| | | | | There's already something on port 3000. | ||||
* | modules: fix configuration for drone-runner-exec | Franck Cuny | 2022-05-02 | 1 | -1/+1 |
| | |||||
* | gitea: add a dashboard for grafana | Franck Cuny | 2022-04-24 | 1 | -0/+1176 |
| | |||||
* | gitea: enable metric endpoint | Franck Cuny | 2022-04-24 | 2 | -7/+13 |
| | | | | Move configuration for the scraper into the gitea module itself. | ||||
* | backups: do backups for the laptop | Franck Cuny | 2022-04-24 | 1 | -1/+10 |
| | | | | | | | | | | | | | 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. | ||||
* | syncthing: add pixel (my phone) to known devices | Franck Cuny | 2022-04-21 | 1 | -1/+12 |
| | | | | | Copy the pictures from the phone on all my machines. Don't sync the documents on the phone (at least for now). | ||||
* | syncthing: configure devices and folders | Franck Cuny | 2022-04-21 | 1 | -0/+18 |
| | |||||
* | syncthing: configure the keys for tahoe | Franck Cuny | 2022-04-21 | 1 | -3/+7 |
| | |||||
* | syncthing: enable on tahoe | Franck Cuny | 2022-04-21 | 1 | -6/+12 |
| | |||||
* | modules: add syncthing as a new module | Franck Cuny | 2022-04-21 | 2 | -0/+12 |
| | |||||
* | drone: backup the state directory | Franck Cuny | 2022-04-13 | 1 | -0/+2 |
| | |||||
* | drone: configuration fixes | Franck Cuny | 2022-04-13 | 2 | -2/+7 |
| | |||||
* | drone: initial attempt at configuring it | Franck Cuny | 2022-04-13 | 5 | -0/+178 |
| | |||||
* | nginx: configure correctly the dashboard | Franck Cuny | 2022-04-13 | 1 | -2/+2 |
| | |||||
* | nginx: install the default dashboard | Franck Cuny | 2022-04-13 | 1 | -0/+6 |
| | |||||
* | traefik: remove the module | Franck Cuny | 2022-04-13 | 4 | -1934/+0 |
| | |||||
* | modules: make the vhost be configurable | Franck Cuny | 2022-04-13 | 3 | -15/+25 |
| | |||||
* | grafana: the vhost is configurable | Franck Cuny | 2022-04-13 | 1 | -4/+11 |
| | |||||
* | grafana: bind to localhost | Franck Cuny | 2022-04-13 | 1 | -4/+0 |
| | |||||
* | modules: set secrets | Franck Cuny | 2022-04-13 | 2 | -2/+6 |
| | |||||
* | unifi: use nginx for reverse proxy | Franck Cuny | 2022-04-13 | 1 | -0/+14 |
| | |||||
* | transmission: use nginx for reverse proxy | Franck Cuny | 2022-04-13 | 1 | -0/+14 |
| | |||||
* | navidrome: use nginx for reverse proxy | Franck Cuny | 2022-04-13 | 1 | -0/+14 |
| | |||||
* | grafana: set proper port for reverse proxy | Franck Cuny | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | grafana: use proper cert | Franck Cuny | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | grafana: try to configure the domain with acme+dns | Franck Cuny | 2022-04-13 | 1 | -1/+17 |
| | |||||
* | nginx: get a simple solution to work first | Franck Cuny | 2022-04-13 | 2 | -291/+12 |
| | |||||
* | nginx: add nginx as a reverse proxy | Franck Cuny | 2022-04-13 | 4 | -0/+412 |
| | | | | This will ultimately replace traefik. | ||||
* | rclone: fix the order of the params | Franck Cuny | 2022-04-13 | 1 | -2/+2 |
| | |||||
* | backups: rename system to host | Franck Cuny | 2022-04-11 | 1 | -1/+1 |
| | | | | Since this is a host level backup. | ||||
* | grafana: backup the whole directory | Franck Cuny | 2022-04-11 | 1 | -1/+1 |
| | |||||
* | secrets: move all the secrets under module/ | Franck Cuny | 2022-04-10 | 4 | -26/+15 |
| | | | | | Refactor a bit the configuration, which should simplify the management and usage of secrets from now on. | ||||
* | add a module for backup with restic | Franck Cuny | 2022-04-10 | 7 | -65/+89 |
| | | | | Do a single backup for the host, instead of running multiple ones. | ||||
* | services: add avahi | Franck Cuny | 2022-04-08 | 2 | -0/+15 |
| | |||||
* | modules: add a few more | Franck Cuny | 2022-04-08 | 2 | -0/+28 |
| | |||||
* | gitea: fix the module | Franck Cuny | 2022-04-06 | 1 | -3/+3 |
| | | | | | Quick fix for now, we will add these values as options to the module once we confirm everything is still working. | ||||
* | refactor transmission and metrics-exporter | Franck Cuny | 2022-04-06 | 4 | -1/+54 |
| | |||||
* | refactor traefik | Franck Cuny | 2022-04-06 | 2 | -0/+104 |
| | |||||
* | refactor rclone to a module | Franck Cuny | 2022-04-06 | 2 | -0/+38 |
| | |||||
* | refactor gitea as a module | Franck Cuny | 2022-04-06 | 2 | -0/+54 |
| | |||||
* | prometheus: proper name for the option | Franck Cuny | 2022-04-06 | 1 | -1/+1 |
| | |||||
* | refactor grafana as a module | Franck Cuny | 2022-04-06 | 6 | -0/+26438 |
| | |||||
* | refactor prometheus as a module | Franck Cuny | 2022-04-06 | 2 | -0/+189 |
| | |||||
* | refactor unifi to a module | Franck Cuny | 2022-04-06 | 2 | -2/+97 |
| | |||||
* | import navidrome with other services | Franck Cuny | 2022-04-06 | 1 | -1/+2 |
| | |||||
* | refactor navidrome to a module | Franck Cuny | 2022-04-06 | 1 | -0/+37 |
| | |||||
* | refactor samba to a proper module | Franck Cuny | 2022-04-06 | 2 | -1/+56 |
| | | | | The list of public share is configurable too. | ||||
* | refactor modules for btrfs, ssd, and fwupd | Franck Cuny | 2022-04-05 | 2 | -1/+6 |
| | |||||
* | create a profile for laptop | Franck Cuny | 2022-04-05 | 3 | -1/+35 |
| | |||||
* | network: move tailscale in modules | Franck Cuny | 2022-04-05 | 2 | -1/+14 |
| | | | | Move the networking configuration for the hosts to its own file. | ||||
* | ssh: refactor to a module | Franck Cuny | 2022-04-05 | 2 | -0/+18 |
Also install mosh and ensure the firewall opens the correct ports. |