Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | zsh: switch to zsh as the default shell | Franck Cuny | 2022-05-15 | 1 | -1/+1 |
| | | | | | | | | | | `zsh' is available everywhere and is compatible with bash. When using `fish' I need to remember how to do things. While the completion style is nicer, I don't care about the rest. I prefer to have a consistent experience in the shell, no matter where am I. This is an initial configuration, I might need to make a few changes as I go. | ||||
* | 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. | ||||
* | add modules to manage bluetooth | Franck Cuny | 2022-05-12 | 2 | -1/+65 |
| | |||||
* | modules: add a few packages | Franck Cuny | 2022-05-06 | 1 | -0/+2 |
| | |||||
* | 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 |
| | |||||
* | secrets: we can specify which user owns it | Franck Cuny | 2022-04-13 | 1 | -2/+7 |
| | |||||
* | 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. | ||||
* | secrets: delete duplicated files | Franck Cuny | 2022-04-13 | 7 | -52/+0 |
| | |||||
* | rclone: fix the order of the params | Franck Cuny | 2022-04-13 | 1 | -2/+2 |
| | |||||
* | secrets: move the actual secrets with hosts config | Franck Cuny | 2022-04-13 | 2 | -11/+12 |
| | | | | | | Having the secrets closer to the host is easier to manage. At the moment I don't have secrets that are shared across multiple hosts, so that's an OK approach. | ||||
* | secrets: fix the path to the ssh key | Franck Cuny | 2022-04-13 | 1 | -4/+3 |
| | |||||
* | secrets: load ssh key only if it exists | Franck Cuny | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | users: add myself to the group 'nas' | Franck Cuny | 2022-04-13 | 1 | -0/+1 |
| | |||||
* | 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 | 14 | -27/+92 |
| | | | | | 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. | ||||
* | install documentations (man) | Franck Cuny | 2022-04-09 | 2 | -4/+19 |
| | |||||
* | add pcmanfm and easyeffects | Franck Cuny | 2022-04-09 | 1 | -0/+1 |
| | |||||
* | services: add avahi | Franck Cuny | 2022-04-08 | 2 | -0/+15 |
| | |||||
* | users: add myself to "cdrom" group | Franck Cuny | 2022-04-08 | 1 | -0/+1 |
| | | | | Otherwise I can't run `abcde`. | ||||
* | modules: add a few more | Franck Cuny | 2022-04-08 | 8 | -3/+100 |
| | |||||
* | initial attempt to reconfigure home-manager | Franck Cuny | 2022-04-07 | 2 | -1/+50 |
| | | | | | | | | | | All the modules that are needed for home-manager should be under `home/`, and each host will have a `host.nix` where the modules are enabled as needed. Later on we can create some profiles to make it easier to consume the configuration. I apply this only to tahoe for now, as the amount of packages needed for my user are pretty limited. | ||||
* | 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. | ||||
* | modules: import packages | Franck Cuny | 2022-04-06 | 1 | -1/+2 |
| | |||||
* | 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 boot configuration to a module | Franck Cuny | 2022-04-06 | 2 | -1/+49 |
| | | | | | | | | | We don't need the previous `hosts/common/system` configs anymore, as everything has been moved out. We keep some boot configuration for carmel in the host configuration for now, but I need to check why I don't have similar settings for tahoe (since I also need to unlock the host remotely). | ||||
* | refactor configuration for AMD | Franck Cuny | 2022-04-06 | 2 | -1/+14 |
| | |||||
* | refactor intel related configuration | Franck Cuny | 2022-04-05 | 2 | -1/+14 |
| | |||||
* | refactor modules for btrfs, ssd, and fwupd | Franck Cuny | 2022-04-05 | 6 | -3/+18 |
| | |||||
* | refactor network configuration | Franck Cuny | 2022-04-05 | 2 | -1/+12 |
| | |||||
* | refactor security to a module | Franck Cuny | 2022-04-05 | 2 | -1/+6 |
| | |||||
* | refactor users to a module | Franck Cuny | 2022-04-05 | 2 | -1/+38 |
| | |||||
* | refactor default packages to a module | Franck Cuny | 2022-04-05 | 1 | -0/+49 |
| | |||||
* | move locale configuration to a module | Franck Cuny | 2022-04-05 | 2 | -1/+8 |
| | |||||
* | console configuration is moved to a module | Franck Cuny | 2022-04-05 | 2 | -1/+7 |
| | |||||
* | 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 | 3 | -1/+19 |
| | | | | Also install mosh and ensure the firewall opens the correct ports. | ||||
* | nix: refactor to a module | Franck Cuny | 2022-04-05 | 3 | -1/+18 |
| | |||||
* | sound: add a new module | Franck Cuny | 2022-04-05 | 3 | -0/+41 |
| | | | | | | | | | | This is the start of yet another refactoring of the configuration. Sound configuration is moving to a module, and we enable it as needed at the host level. It takes care of configuring pipewire and install the packages needed too. This module is applied to the laptop and the desktop. | ||||
* | move configurations and modules around | Franck Cuny | 2022-02-12 | 10 | -190/+0 |
| | | | | Sorry, this is a mess, hopefully the last one. | ||||
* | nix: enable flakes | Franck Cuny | 2022-02-10 | 1 | -9/+12 |
| | |||||
* | systems: add a MoTD | Franck Cuny | 2022-02-09 | 2 | -0/+13 |
| | |||||
* | modules: swap capslock for control | Franck Cuny | 2022-02-09 | 1 | -1/+1 |
| | |||||
* | modules: more software | Franck Cuny | 2022-02-09 | 1 | -1/+2 |
| | |||||
* | modules: set a few more options for nix | Franck Cuny | 2022-02-09 | 1 | -0/+3 |
| | |||||
* | users: move users configuration to systems | Franck Cuny | 2022-02-09 | 2 | -0/+26 |
| | |||||
* | systems: typo | Franck Cuny | 2022-02-09 | 1 | -0/+2 |
| | |||||
* | systems: ensure latest kernel and tmp on tmpfs | Franck Cuny | 2022-02-09 | 1 | -0/+3 |
| | |||||
* | systems: more packages | Franck Cuny | 2022-02-09 | 1 | -1/+6 |
| | |||||
* | hosts: remove / clean code | Franck Cuny | 2022-02-09 | 2 | -0/+16 |
| | | | | | | There's a lot of commented stuff I don't need, and move things that are configured in the host into modules, which will improve re-usability and readability of this configuration. | ||||
* | ssh: new module for managing ssh | Franck Cuny | 2022-02-09 | 1 | -0/+5 |
| | |||||
* | Revert "desktop: new option to control desktop setup" | Franck Cuny | 2022-02-09 | 2 | -30/+13 |
| | | | | This reverts commit 343e89015a55b627400286a06937175facb1494d. | ||||
* | Revert "desktop: install sound and xserver only when asked" | Franck Cuny | 2022-02-09 | 2 | -44/+32 |
| | | | | This reverts commit 3b1ac4f78d21802073c82df39ca7080ae70a67a9. | ||||
* | desktop: install sound and xserver only when asked | Franck Cuny | 2022-02-08 | 2 | -32/+44 |
| | |||||
* | desktop: new option to control desktop setup | Franck Cuny | 2022-02-08 | 2 | -13/+30 |
| | | | | | We don't want to install a desktop on all hosts. We add a new option that we can set to true or false if we want a desktop to be installed. | ||||
* | i3: remove extra packages and fix typo | Franck Cuny | 2022-02-08 | 1 | -6/+0 |
| | |||||
* | i3: separate configuration for xserver and i3 | Franck Cuny | 2022-02-08 | 2 | -0/+33 |
| | | | | | Let's first configure the xserver in the desktop module, then we can have a configuration for i3 in the home-manager. | ||||
* | i3: move configuration to home-manager | Franck Cuny | 2022-02-08 | 3 | -39/+0 |
| | |||||
* | desktop: configuration for i3 | Franck Cuny | 2022-02-08 | 2 | -4/+19 |
| | |||||
* | systems: move some packages out of host config | Franck Cuny | 2022-02-08 | 1 | -0/+1 |
| | |||||
* | desktop: add sound | Franck Cuny | 2022-02-08 | 2 | -0/+21 |
| | | | | Let's use pipewire. | ||||
* | systems: fix typo | Franck Cuny | 2022-02-08 | 1 | -1/+1 |
| | |||||
* | systems: install more packages | Franck Cuny | 2022-02-08 | 2 | -1/+24 |
| | |||||
* | xserver: drop deprecated variable | Franck Cuny | 2022-02-08 | 1 | -1/+0 |
| | | | | | | | | | | ``` warning: The following options are deprecated: - services.xserver.windowManager.default Please use services.xserver.displayManager.defaultSession = "none+i3"; instead. ``` | ||||
* | desktop: import correct module | Franck Cuny | 2022-02-08 | 1 | -1/+1 |
| | |||||
* | xserver: initial configuration | Franck Cuny | 2022-02-08 | 2 | -0/+25 |
| | | | | Enable it for the desktop. | ||||
* | systems: drop nix.settings | Franck Cuny | 2022-02-08 | 1 | -5/+0 |
| | | | | This is not yet available with the current configuration. | ||||
* | systems: default configuration for all systems | Franck Cuny | 2022-02-08 | 2 | -0/+22 |
| | |||||
* | modules: start desktop configuration | Franck Cuny | 2022-02-07 | 2 | -0/+24 |
We will create a module for desktop (which will also be used by the laptop). Start by configuring the fonts. |