Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(secrets): set the owner for buildkite agent secrets | Franck Cuny | 2022-06-04 | 1 | -0/+1 |
| | | | | | | | | | There's one user per agent. If we don't set an owner for that file, it will be owned by root. Let's set the ownership to the first builder. Change-Id: I1270e6858c0bf2797bd12c2557d84a494cef5081 Reviewed-on: https://cl.fcuny.net/c/world/+/281 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | ref(drone): remove secret and CLI for drone | Franck Cuny | 2022-06-04 | 1 | -5/+0 |
| | | | | | | | | | I'm not using drone anymore. I don't need the CLI and the secret to be installed. Change-Id: I9c8ecfe5f051fd70d78f0e2e9aaa705e48627714 Reviewed-on: https://cl.fcuny.net/c/world/+/261 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(gerrit): add secret for gerrit-hook | Franck Cuny | 2022-06-04 | 2 | -0/+16 |
| | | | | | | | | | | | The secret is the configuration for the gerrit-hook tool. It contains the URL to our gerrit instance, the username/password for the gerrit user used by the tool, the API token for buildKite and the name of the organization in buildKite. Change-Id: I58233e085c92d4c5db5635eb9942a5e87ee9e55d Reviewed-on: https://cl.fcuny.net/c/world/+/204 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(hosts/tahoe): enable buildkite agent | Franck Cuny | 2022-05-30 | 1 | -0/+1 |
| | | | | | | Change-Id: I12cc741bdfb074f7d2a006547860362176afe372 Reviewed-on: https://cl.fcuny.net/c/world/+/169 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | feat(buildkite): add the auth token | Franck Cuny | 2022-05-30 | 2 | -0/+7 |
| | | | | | | Change-Id: I652a3326caf8f949e9734849d1492f7b9764a766 Reviewed-on: https://cl.fcuny.net/c/world/+/167 Reviewed-by: Franck Cuny <franck@fcuny.net> | ||||
* | ref(tahoe): remove drone | Franck Cuny | 2022-05-29 | 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> | ||||
* | feat(hosts/tahoe): replace gitea by cgit | Franck Cuny | 2022-05-27 | 1 | -2/+1 |
| | | | | | | Change-Id: I3b00408d7550d7660fb33940ae2cd0806076f4d2 Reviewed-on: https://cl.fcuny.net/c/world/+/62 Reviewed-by: Franck Cuny <franck.cuny@gmail.com> | ||||
* | feat(tahoe): enable gerrit | Franck Cuny | 2022-05-26 | 1 | -0/+4 |
| | |||||
* | feat(tahoe): enable sourcegraph | Franck Cuny | 2022-05-22 | 1 | -0/+4 |
| | |||||
* | bluetooh: enable on aptos | Franck Cuny | 2022-05-16 | 1 | -0/+1 |
| | |||||
* | zsh: switch to zsh as the default shell | Franck Cuny | 2022-05-15 | 3 | -3/+3 |
| | | | | | | | | | | `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. | ||||
* | aptos: enable bluetooth | Franck Cuny | 2022-05-12 | 1 | -0/+1 |
| | |||||
* | secrets: add a new secrets for gcloud (aptos only) | Franck Cuny | 2022-05-07 | 2 | -0/+5 |
| | | | | | This is the configuration needed to interact with GCP from this repository. We only want it on aptos for now. | ||||
* | tahoe: enable exec runner for drone | Franck Cuny | 2022-05-02 | 1 | -1/+1 |
| | |||||
* | backups: do backups for the laptop | Franck Cuny | 2022-04-24 | 5 | -1/+36 |
| | | | | | | | | | | | | | 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. | ||||
* | scanner: install tools on the laptop | Franck Cuny | 2022-04-24 | 1 | -0/+4 |
| | |||||
* | syncthing: enable on trusted machines | Franck Cuny | 2022-04-21 | 4 | -2/+16 |
| | | | | Add the cert and key for aptos. | ||||
* | syncthing: don't run from home | Franck Cuny | 2022-04-21 | 1 | -1/+0 |
| | |||||
* | syncthing: configure the keys for tahoe | Franck Cuny | 2022-04-21 | 3 | -0/+20 |
| | |||||
* | syncthing: enable on tahoe | Franck Cuny | 2022-04-21 | 1 | -0/+1 |
| | |||||
* | syncthing: let's run it from home-manager | Franck Cuny | 2022-04-21 | 1 | -0/+1 |
| | |||||
* | drone: configuration fixes | Franck Cuny | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | drone: initial attempt at configuring it | Franck Cuny | 2022-04-13 | 4 | -0/+16 |
| | |||||
* | modules: make the vhost be configurable | Franck Cuny | 2022-04-13 | 1 | -3/+9 |
| | |||||
* | grafana: correct domain name ... | Franck Cuny | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | grafana: the vhost is configurable | Franck Cuny | 2022-04-13 | 1 | -1/+4 |
| | |||||
* | tahoe: set owner for secret related to ACME | Franck Cuny | 2022-04-13 | 1 | -1/+4 |
| | |||||
* | secrets: re-key all secrets for tahoe | Franck Cuny | 2022-04-13 | 8 | -30/+27 |
| | |||||
* | grafana: try to configure the domain with acme+dns | Franck Cuny | 2022-04-13 | 3 | -1/+9 |
| | |||||
* | nginx: get a simple solution to work first | Franck Cuny | 2022-04-13 | 1 | -13/+1 |
| | |||||
* | nginx: add nginx as a reverse proxy | Franck Cuny | 2022-04-13 | 1 | -1/+14 |
| | | | | This will ultimately replace traefik. | ||||
* | secrets: move the actual secrets with hosts config | Franck Cuny | 2022-04-13 | 9 | -0/+43 |
| | | | | | | 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. | ||||
* | tahoe: fix backup configuration | Franck Cuny | 2022-04-11 | 1 | -2/+3 |
| | |||||
* | secrets: move all the secrets under module/ | Franck Cuny | 2022-04-10 | 1 | -3/+3 |
| | | | | | 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 | 1 | -10/+4 |
| | | | | Do a single backup for the host, instead of running multiple ones. | ||||
* | tahoe: enable network with early boot | Franck Cuny | 2022-04-09 | 2 | -11/+19 |
| | | | | So we can unlock the disks remotely. | ||||
* | small fixes | Franck Cuny | 2022-04-09 | 1 | -1/+1 |
| | |||||
* | add a few more modules to home/ and delete stuff | Franck Cuny | 2022-04-09 | 2 | -0/+3 |
| | |||||
* | carmel: configure the desktop properly | Franck Cuny | 2022-04-08 | 3 | -1/+22 |
| | |||||
* | hosts: rename hardware-configuration to hardware | Franck Cuny | 2022-04-08 | 6 | -3/+3 |
| | |||||
* | hosts: add services to tahoe | Franck Cuny | 2022-04-08 | 3 | -11/+10 |
| | |||||
* | delete unneeded modules | Franck Cuny | 2022-04-08 | 3 | -96/+0 |
| | |||||
* | delete unused module | Franck Cuny | 2022-04-08 | 1 | -25/+0 |
| | |||||
* | aptos: consume the new profiles | Franck Cuny | 2022-04-08 | 3 | -3/+21 |
| | | | | aptos is now using the new home-manager setup. | ||||
* | initial attempt to reconfigure home-manager | Franck Cuny | 2022-04-07 | 2 | -0/+18 |
| | | | | | | | | | | 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. | ||||
* | refactor transmission and metrics-exporter | Franck Cuny | 2022-04-06 | 4 | -50/+2 |
| | |||||
* | refactor traefik | Franck Cuny | 2022-04-06 | 2 | -97/+1 |
| | |||||
* | refactor rclone to a module | Franck Cuny | 2022-04-06 | 2 | -33/+1 |
| | |||||
* | refactor gitea as a module | Franck Cuny | 2022-04-06 | 2 | -42/+4 |
| | |||||
* | refactor grafana as a module | Franck Cuny | 2022-04-06 | 7 | -26433/+1 |
| | |||||
* | refactor prometheus as a module | Franck Cuny | 2022-04-06 | 2 | -180/+1 |
| | |||||
* | refactor unifi to a module | Franck Cuny | 2022-04-06 | 2 | -82/+1 |
| | |||||
* | refactor navidrome to a module | Franck Cuny | 2022-04-06 | 2 | -28/+9 |
| | |||||
* | enable AMD module correctly | Franck Cuny | 2022-04-06 | 2 | -2/+2 |
| | |||||
* | refactor samba to a proper module | Franck Cuny | 2022-04-06 | 2 | -34/+5 |
| | | | | The list of public share is configurable too. | ||||
* | refactor boot configuration to a module | Franck Cuny | 2022-04-06 | 8 | -62/+19 |
| | | | | | | | | | 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 | -66/+65 |
| | |||||
* | refactor intel related configuration | Franck Cuny | 2022-04-05 | 4 | -37/+26 |
| | |||||
* | refactor modules for btrfs, ssd, and fwupd | Franck Cuny | 2022-04-05 | 2 | -9/+1 |
| | |||||
* | refactor network configuration | Franck Cuny | 2022-04-05 | 6 | -28/+58 |
| | |||||
* | refactor security to a module | Franck Cuny | 2022-04-05 | 2 | -6/+1 |
| | |||||
* | refactor users to a module | Franck Cuny | 2022-04-05 | 2 | -33/+1 |
| | |||||
* | refactor default packages to a module | Franck Cuny | 2022-04-05 | 2 | -58/+2 |
| | |||||
* | move locale configuration to a module | Franck Cuny | 2022-04-05 | 2 | -13/+0 |
| | |||||
* | console configuration is moved to a module | Franck Cuny | 2022-04-05 | 1 | -5/+0 |
| | |||||
* | create a profile for laptop | Franck Cuny | 2022-04-05 | 1 | -1/+1 |
| | |||||
* | carmel: enable the sound | Franck Cuny | 2022-04-05 | 1 | -0/+1 |
| | |||||
* | network: move tailscale in modules | Franck Cuny | 2022-04-05 | 7 | -62/+64 |
| | | | | Move the networking configuration for the hosts to its own file. | ||||
* | ssh: refactor to a module | Franck Cuny | 2022-04-05 | 2 | -7/+0 |
| | | | | Also install mosh and ensure the firewall opens the correct ports. | ||||
* | nix: refactor to a module | Franck Cuny | 2022-04-05 | 2 | -19/+0 |
| | |||||
* | sound: add a new module | Franck Cuny | 2022-04-05 | 6 | -42/+16 |
| | | | | | | | | | | 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. | ||||
* | dashboard: remove ping metrics | Franck Cuny | 2022-04-04 | 1 | -96/+3 |
| | | | | We're using the ones from the prober | ||||
* | prometheus: fix configuration | Franck Cuny | 2022-04-04 | 1 | -3/+1 |
| | |||||
* | prometheus: we need to specify the IP protocol | Franck Cuny | 2022-04-04 | 1 | -1/+5 |
| | | | | | | | | If we don't, by default we try over ipv6, and this is not going to work well for us (yet): ``` ts=2022-04-05T01:39:13.830414184Z caller=main.go:130 module=https_2xx target=https://notes.fcuny.net level=error msg="Error for HTTP request" err="Get \"https://[2a09:8280:1::a:2aed]\": dial tcp [2a09:8280:1::a:2aed]:443: connect: network is unreachable" ``` | ||||
* | prometheus: I'll get this right this time | Franck Cuny | 2022-04-04 | 1 | -5/+3 |
| | |||||
* | prometheus: set the scheme for the URLs | Franck Cuny | 2022-04-04 | 1 | -5/+5 |
| | |||||
* | prometheus: add scraper for HTTP | Franck Cuny | 2022-04-04 | 1 | -0/+28 |
| | |||||
* | prometheus: configure correctly the blackbox | Franck Cuny | 2022-04-04 | 1 | -10/+23 |
| | |||||
* | prometheus: attempt to configure blackbox exporter | Franck Cuny | 2022-04-04 | 1 | -0/+34 |
| | |||||
* | dashboard: more update for traefik | Franck Cuny | 2022-04-04 | 1 | -452/+1478 |
| | |||||
* | dashboards: more updates for traefik | Franck Cuny | 2022-04-04 | 1 | -1/+2 |
| | |||||
* | grafana: try to configure the data source | Franck Cuny | 2022-04-04 | 1 | -9/+28 |
| | |||||
* | grafana: add dashboard for traefik | Franck Cuny | 2022-04-04 | 1 | -0/+783 |
| | |||||
* | grafana: show last 6 hours for node exporter | Franck Cuny | 2022-04-03 | 1 | -2/+2 |
| | |||||
* | users: ensure I'm in the docker group | Franck Cuny | 2022-04-03 | 1 | -1/+1 |
| | |||||
* | Revert "create a new role for navidrome" | Franck Cuny | 2022-04-03 | 3 | -35/+26 |
| | | | | This reverts commit 814a495e9c74e3211c6b6640397111115832207b. | ||||
* | create a new role for navidrome | Franck Cuny | 2022-04-03 | 3 | -26/+35 |
| | | | | Apply the role to tahoe. | ||||
* | nas: add videos to the backups | Franck Cuny | 2022-04-02 | 1 | -7/+2 |
| | | | | | We also don't need the music-organizer anymore since we're switching to beets. | ||||
* | nas: backup navidrome data and add music subdomain | Franck Cuny | 2022-03-28 | 2 | -0/+14 |
| | |||||
* | nas: bind navidrome to all interfaces | Franck Cuny | 2022-03-28 | 1 | -1/+4 |
| | |||||
* | nas: initial setup for navidrome | Franck Cuny | 2022-03-28 | 2 | -0/+9 |
| | |||||
* | nas: install music-organizer from the main branch | Franck Cuny | 2022-03-27 | 1 | -0/+1 |
| | |||||
* | nas: install correctly music-organizer | Franck Cuny | 2022-03-27 | 1 | -1/+1 |
| | |||||
* | nas: install music-organizer | Franck Cuny | 2022-03-27 | 1 | -3/+5 |
| | |||||
* | prometheus: stop scraping the NAS | Franck Cuny | 2022-03-26 | 1 | -4/+2 |
| | | | | we're shutting it down! | ||||
* | common: ensure zsh is installed | Franck Cuny | 2022-03-25 | 1 | -0/+1 |
| | |||||
* | gitea: remove invalid configuration | Franck Cuny | 2022-03-25 | 1 | -1/+0 |
| | |||||
* | shell: switch from zsh to fish | Franck Cuny | 2022-03-25 | 2 | -3/+3 |
| | | | | why not ? | ||||
* | rclone: correct path for the backups | Franck Cuny | 2022-03-15 | 1 | -2/+2 |
| | |||||
* | rclone: fix the path | Franck Cuny | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | prometheus: scrape gitea metrics | Franck Cuny | 2022-03-13 | 1 | -0/+6 |
| | |||||
* | gitea: enable metrics endpoint | Franck Cuny | 2022-03-13 | 1 | -0/+1 |
| | |||||
* | server: typo | Franck Cuny | 2022-03-13 | 1 | -4/+2 |
| | |||||
* | rclone: rewrite the service unit | Franck Cuny | 2022-03-13 | 1 | -5/+6 |
| | |||||
* | default: install ethtool everywhere | Franck Cuny | 2022-03-12 | 1 | -0/+1 |
| | |||||
* | prometheus: collect more stuff | Franck Cuny | 2022-03-12 | 1 | -1/+1 |
| | |||||
* | hosts: add profiles | Franck Cuny | 2022-03-12 | 4 | -17/+18 |
| | | | | Profiles contain a collection of modules. | ||||
* | users: add another ssh key | Franck Cuny | 2022-03-12 | 1 | -2/+8 |
| | |||||
* | containers: enable dockerd and containerd on aptos | Franck Cuny | 2022-03-12 | 1 | -0/+11 |
| | |||||
* | rclone: add users backup | Franck Cuny | 2022-03-11 | 1 | -11/+12 |
| | |||||
* | nas: enable rclone configuration | Franck Cuny | 2022-03-11 | 1 | -0/+1 |
| | |||||
* | prometheus: scrap more endpoints | Franck Cuny | 2022-03-11 | 1 | -0/+30 |
| | |||||
* | rclone: synchronize restic repo to GCS | Franck Cuny | 2022-03-11 | 1 | -0/+29 |
| | | | | | | Add a couple of secrets to store the configuration and the service account, and add a timer to synchronize the restic repository to a GCS bucket once a day. | ||||
* | traefik: typo | Franck Cuny | 2022-03-09 | 1 | -1/+1 |
| | |||||
* | traefik: make the rules as specific as possible | Franck Cuny | 2022-03-09 | 1 | -2/+4 |
| | | | | Otherwise, `git` will conflict, since it exists on both domains. | ||||
* | traefik: typo | Franck Cuny | 2022-03-09 | 1 | -5/+5 |
| | |||||
* | gitea: typo | Franck Cuny | 2022-03-09 | 1 | -1/+1 |
| | |||||
* | traefik: handle fcuny.net and fcuny.xyz | Franck Cuny | 2022-03-09 | 1 | -7/+15 |
| | | | | | | | | | | | | | fcuny.net is for public facing domains, while fcuny.xyz are for domains on the tailscale network. I need to support configuration in traefik for both. The main difference, for traefik, is the domain name and which let's encrypt challenge to use (DNS for TS, HTTP for public). Refactor the function `mkServiceConfig` to accept the domain and LE challenge as argument, and add new entries for git.fcuny.net and git.fcuny.xyz. | ||||
* | gitea: do a backup with restic | Franck Cuny | 2022-03-09 | 1 | -0/+12 |
| | |||||
* | gitea: we need to specify the user for the DB | Franck Cuny | 2022-03-09 | 1 | -1/+4 |
| | |||||
* | system: install sqlite | Franck Cuny | 2022-03-09 | 1 | -3/+3 |
| | | | | It's always useful to have it around. | ||||
* | gitea: initial configuration | Franck Cuny | 2022-03-08 | 2 | -0/+28 |
| | |||||
* | nas: backup photos and music | Franck Cuny | 2022-03-08 | 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. | ||||
* | backups: spread them so they don't clash | Franck Cuny | 2022-03-07 | 3 | -0/+3 |
| | | | | | If they start running at the same time, they won't be able to succeed since there's a global lock on the repository. | ||||
* | grafana: backup the data directory | Franck Cuny | 2022-03-07 | 1 | -0/+14 |
| | |||||
* | prometheus: backup the data directory | Franck Cuny | 2022-03-07 | 1 | -0/+14 |
| | |||||
* | unifi: backup the data to the local reo | Franck Cuny | 2022-03-07 | 1 | -0/+14 |
| | |||||
* | prometheus: scrap unifi poller on the correct IP | Franck Cuny | 2022-03-06 | 1 | -1/+1 |
| | |||||
* | prometheus: scrape from unifi-poller | Franck Cuny | 2022-03-06 | 1 | -31/+40 |
| | |||||
* | unifi: set the correct name for the poller's unit | Franck Cuny | 2022-03-06 | 1 | -2/+2 |
| | |||||
* | traefik: proper configuration for unifi | Franck Cuny | 2022-03-06 | 1 | -0/+14 |
| | |||||
* | unifi: configure the poller | Franck Cuny | 2022-03-06 | 1 | -5/+18 |
| | |||||
* | unifi: add unifi on the NAS | Franck Cuny | 2022-03-06 | 2 | -0/+54 |
| | |||||
* | transmission: disable the rpc allowlist | Franck Cuny | 2022-03-06 | 1 | -2/+1 |
| | | | | This is not working as I think, will follow up later. | ||||
* | traefik: add transmission (bt.fcuny.xyz) | Franck Cuny | 2022-03-06 | 1 | -2/+4 |
| | |||||
* | nas: install transmission | Franck Cuny | 2022-03-06 | 2 | -0/+36 |
| | | | | | 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. | ||||
* | grafana: rename the instance for the router | Franck Cuny | 2022-03-06 | 1 | -16/+16 |
| | |||||
* | grafana: add a few more dashboards | Franck Cuny | 2022-03-06 | 3 | -0/+10539 |
| | |||||
* | tahoe: enable tailscale | Franck Cuny | 2022-03-06 | 1 | -0/+1 |
| | |||||
* | traefik: getting a working configuration | Franck Cuny | 2022-03-06 | 1 | -22/+21 |
| | |||||
* | traefik: second attempt, simple | Franck Cuny | 2022-03-06 | 2 | -52/+35 |
| | |||||
* | traefik: initial configuration | Franck Cuny | 2022-03-06 | 2 | -0/+87 |
| | | | | | | | | | 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. | ||||
* | backups: unit to run maintenance on my backups | Franck Cuny | 2022-03-05 | 2 | -0/+26 |
| | | | | | This will be run via a timer once a day, to perform maintenance on my backups on the nas. | ||||
* | prometheus: scrape nodeexporter for the rtr | Franck Cuny | 2022-03-05 | 1 | -15/+24 |
| | |||||
* | samba: fix path for music, add videos | Franck Cuny | 2022-03-05 | 1 | -1/+7 |
| | |||||
* | tahoe: remove creation of some directories | Franck Cuny | 2022-03-05 | 1 | -29/+9 |
| | |||||
* | tahoe: new hardware configuratio | Franck Cuny | 2022-03-05 | 1 | -21/+13 |
| | |||||
* | aptos: remove mem_sleep_default | Franck Cuny | 2022-03-05 | 1 | -1/+0 |
| | | | | The laptop was rebooting when I'd open the lid. | ||||
* | tailscale: add tailscale to the laptop (aptos) | Franck Cuny | 2022-03-05 | 2 | -0/+7 |
| | |||||
* | aptos: nixfmt | Franck Cuny | 2022-03-04 | 1 | -17/+10 |
| | |||||
* | tahoe: enable wireguard | Franck Cuny | 2022-03-02 | 1 | -0/+1 |
| | |||||
* | grafana: disable analytics correctly | Franck Cuny | 2022-03-02 | 1 | -1/+2 |
| | |||||
* | wireguard: drop configuration for aptos | Franck Cuny | 2022-03-02 | 1 | -7/+0 |
| | | | | This is done in the module itself. | ||||
* | prometheus: relabel some machines | Franck Cuny | 2022-03-02 | 1 | -12/+20 |
| | | | | | Don't use the IP from wireguard as the name of the host, let's map to the actual hostname. | ||||
* | users: remove rsa key | Franck Cuny | 2022-03-02 | 1 | -1/+0 |
| | |||||
* | grafana: disable analytics | Franck Cuny | 2022-03-02 | 1 | -0/+1 |
| | |||||
* | grafana: provision dashboards | Franck Cuny | 2022-02-28 | 2 | -0/+14120 |
| | | | | Start with node-exporter-full dashboard. | ||||
* | grafana: setup provisioning correctly | Franck Cuny | 2022-02-28 | 1 | -6/+9 |
| | |||||
* | grafana: fix | Franck Cuny | 2022-02-28 | 1 | -1/+1 |
| | |||||
* | grafana: configure admin user and data sources | Franck Cuny | 2022-02-28 | 1 | -1/+9 |
| | |||||
* | grafana: initial configuration | Franck Cuny | 2022-02-28 | 2 | -0/+10 |
| | |||||
* | prometheus: initial configuration for the server | Franck Cuny | 2022-02-28 | 2 | -0/+30 |
| | | | | | | | Run prometheus via systemd, and configure to pull node-exporter's metrics from two hosts. The retention is set for 3 years. | ||||
* | users: change my ssh key for the laptop | Franck Cuny | 2022-02-27 | 1 | -1/+2 |
| | |||||
* | hosts: ensure we have bash and zsh | Franck Cuny | 2022-02-27 | 1 | -0/+3 |
| | |||||
* | nas: consume everything from the server profile | Franck Cuny | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | server: create a new profile | Franck Cuny | 2022-02-27 | 2 | -0/+19 |
| | | | | | This is a profile for servers related stuff. We start with monitoring for now. | ||||
* | tahoe: create some directories | Franck Cuny | 2022-02-27 | 1 | -0/+15 |
| | | | | Ensure at least /data/media/music is created with the proper ownership. | ||||
* | samba: fix configuration | Franck Cuny | 2022-02-27 | 1 | -3/+3 |
| | | | | | Some settings were missing, others incorrect, and the name of the share was also incorrect. | ||||
* | tahoe: include NAS profile | Franck Cuny | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | NAS: initial configuration | Franck Cuny | 2022-02-27 | 2 | -0/+34 |
| | | | | For now we only want samba on it. | ||||
* | hardware: enable btrfs scrubber and fstrimmer | Franck Cuny | 2022-02-27 | 1 | -0/+3 |
| | |||||
* | software: drop nautilus, add a few more things | Franck Cuny | 2022-02-27 | 1 | -4/+0 |
| | | | | | | | | | Replace nautilus with pcmanfm, which is more than enough for my needs (I still can't open correctly images / PDF with nautilus, I don't care why). Add a few more packages (seahorse, easyeffects) to improve usability of the desktop. | ||||
* | pam: drop GDM configuration | Franck Cuny | 2022-02-27 | 1 | -2/+0 |
| | | | | I don't use GDM anymore. | ||||
* | aptos: use the hardware module for xps9300 | Franck Cuny | 2022-02-27 | 2 | -1/+1 |
| | |||||
* | hardware: start capturing hardware related stuff | Franck Cuny | 2022-02-27 | 2 | -0/+10 |
| | | | | | Create a new module for hardware related things, in order to configure correctly the various machines. | ||||
* | hosts: add tahoe, the new NAS | Franck Cuny | 2022-02-27 | 2 | -0/+111 |
| | |||||
* | agenix: store wireguard key in persistent storage | Franck Cuny | 2022-02-24 | 1 | -0/+7 |
| | | | | | | The key was created under /run/agenix, which is wiped out after a reboot. The key being absent prevents the wireguard interface to come up. Store the key somewhere persistent to prevent this to happen. | ||||
* | gnome: add more gnome settings | Franck Cuny | 2022-02-24 | 1 | -1/+14 |
| | | | | | | | Without these settings a few things are not working correctly (nautilus can't browse ssh servers for example). This module needs to be renamed too. | ||||
* | xserver: drop it completely | Franck Cuny | 2022-02-24 | 1 | -14/+0 |
| | | | | | | | | | | | | | Let's remove this, I was only using it to get GDM running, but that's causing a bunch of issues so far: - not all environment variables are loaded correctly - some units are not loaded in time When trying to use xorg and i3, I have way too many tears and I can't figure out a proper configuration. To make it easier, I'm going to keep sway and start `sway` from `tty1` directly. | ||||
* | ssh: authenticate only using ssh key | Franck Cuny | 2022-02-21 | 1 | -0/+1 |
| | |||||
* | wireguard: module and peers configurations | Franck Cuny | 2022-02-21 | 1 | -0/+1 |
| | | | | | | | | | Add a new module to automatically configure the peers for wireguard. The module needs a configuration file (in `configs/wireguard.toml`) which lists all the peers, their IP and and their public keys. The secret keys is encrypted as a secret with agenix. There's some initial documentation on how to use this setup. | ||||
* | system: install a few more packages | Franck Cuny | 2022-02-21 | 1 | -1/+10 |
| | |||||
* | users: add ssh keys for aptos and carmel | Franck Cuny | 2022-02-21 | 1 | -2/+2 |
| | |||||
* | fonts: add font-awesome for i3status | Franck Cuny | 2022-02-21 | 1 | -0/+1 |
| | |||||
* | aptos: switch to iwd and enable thermald | Franck Cuny | 2022-02-21 | 1 | -3/+5 |
| | | | | | | | Replace wpa_supplicant with iwd (I prefer that daemon and the associated tool, iwctl). Enable thermald for managing power. | ||||
* | hosts: add aptos | Franck Cuny | 2022-02-21 | 2 | -0/+91 |
| | | | | | aptos is my laptop (dell xps 13'). This adds the initial configuration for it. | ||||
* | xserver: add at-spi2-core package | Franck Cuny | 2022-02-18 | 1 | -1/+5 |
| | | | | | See https://github.com/NixOS/nixpkgs/issues/16327 for details (this removes warnings in some services) | ||||
* | boot: fix the prefix | Franck Cuny | 2022-02-18 | 1 | -1/+1 |
| | |||||
* | xserver: natural scrolling is part of touchpad. | Franck Cuny | 2022-02-18 | 1 | -1/+1 |
| | |||||
* | fonts: rename some options | Franck Cuny | 2022-02-18 | 1 | -2/+1 |
| | | | | | `fontconfig.ultimate` does not exists anymore, and `enableFontDir` has been renamed to `fontDir.enable`. | ||||
* | system: add locale and security | Franck Cuny | 2022-02-18 | 3 | -2/+19 |
| | |||||
* | desktop: enable natural scrolling | Franck Cuny | 2022-02-18 | 1 | -2/+4 |
| | |||||
* | boot: reorganize and add comments | Franck Cuny | 2022-02-18 | 2 | -11/+16 |
| | | | | Most of the options for booting are common to all hosts. | ||||
* | fonts: add more fonts for the system | Franck Cuny | 2022-02-18 | 1 | -1/+8 |
| | |||||
* | sway: configure correctly dbus / keyring | Franck Cuny | 2022-02-17 | 1 | -8/+16 |
| | |||||
* | sway: install all the required packages | Franck Cuny | 2022-02-16 | 1 | -1/+15 |
| | |||||
* | home-manager: move activate logic in users' config | Franck Cuny | 2022-02-16 | 1 | -4/+1 |
| | |||||
* | hosts: remove btrfs subvolume 'media' | Franck Cuny | 2022-02-16 | 1 | -6/+0 |
| | | | | | The host would not boot successfully with that, I'm doing something wrong. | ||||
* | hosts: add a new subvolumes to carmel | Franck Cuny | 2022-02-14 | 1 | -0/+6 |
| | | | | | Create a subvolume named 'media' that we will mount under /home/fcuny/media so we can snapshots /home/fcuny without the medias. | ||||
* | hosts: enable rtkit with audio module | Franck Cuny | 2022-02-14 | 1 | -0/+2 |
| | |||||
* | hosts: load igb kernel module for initrd | Franck Cuny | 2022-02-13 | 1 | -0/+1 |
| | | | | We need to load the driver for the NIC. | ||||
* | hosts: unlock disks remotely on boot | Franck Cuny | 2022-02-13 | 3 | -19/+28 |
| | | | | | Enable a SSH daemon in initrd, with our keys, so we can unlock remotely the disk on reboot. | ||||
* | desktop: ensure we're installing sway | Franck Cuny | 2022-02-13 | 1 | -1/+7 |
| | |||||
* | hosts: remove configuration for ssh keys in initrd | Franck Cuny | 2022-02-13 | 1 | -1/+0 |
| | | | | This is not working yet, we will figure this out later. | ||||
* | motd: drop, there's no need for that | Franck Cuny | 2022-02-13 | 2 | -13/+0 |
| | |||||
* | sway: first attempt at configuring sway | Franck Cuny | 2022-02-13 | 1 | -11/+3 |
| | | | | | Let's switch right away to sway instead, now that there's an emacs package to support wayland. | ||||
* | hosts: install linux perf tools for the host | Franck Cuny | 2022-02-13 | 1 | -1/+8 |
| | |||||
* | hosts: decrypt root disk via ssh on boot | Franck Cuny | 2022-02-13 | 3 | -0/+27 |
| | |||||
* | desktop: gnome related things | Franck Cuny | 2022-02-13 | 1 | -1/+10 |
| | |||||
* | hosts: enable avahi on desktop | Franck Cuny | 2022-02-13 | 1 | -0/+5 |
| | | | | This is going to be needed to print (for example). | ||||
* | hosts: load services at the host level | Franck Cuny | 2022-02-12 | 1 | -0/+15 |
| | | | | | | These services are not configured at the user level, but at the host level. We might need a better separation in the future, in case I don't use xserver for example. | ||||
* | hosts: rename commons to common | Franck Cuny | 2022-02-12 | 13 | -0/+0 |
| | |||||
* | hosts: import common modules | Franck Cuny | 2022-02-12 | 1 | -2/+1 |
| | | | | | | Update the `mkSystem` function to include the proper common module, and fix the path to import the common configuration for a desktop into `carmel`. | ||||
* | move configurations and modules around | Franck Cuny | 2022-02-12 | 13 | -10/+187 |
| | | | | Sorry, this is a mess, hopefully the last one. | ||||
* | hosts: more typo | Franck Cuny | 2022-02-12 | 1 | -1/+1 |
| | |||||
* | hosts: typo | Franck Cuny | 2022-02-12 | 1 | -1/+2 |
| | |||||
* | hosts: centralize network configuration | Franck Cuny | 2022-02-12 | 3 | -10/+37 |
| | |||||
* | hosts: set hostname from configuration | Franck Cuny | 2022-02-10 | 1 | -6/+2 |
| | |||||
* | fix a few errors | Franck Cuny | 2022-02-10 | 1 | -0/+1 |
| | |||||
* | hosts: common configuration across all hosts | Franck Cuny | 2022-02-10 | 1 | -0/+12 |
| | |||||
* | nix: fix a bunch of stuff | Franck Cuny | 2022-02-10 | 1 | -1/+0 |
| | |||||
* | hosts: use systemd-resolved on carmel | Franck Cuny | 2022-02-09 | 1 | -0/+6 |
| | |||||
* | hosts: remove users | Franck Cuny | 2022-02-09 | 1 | -1/+0 |
| | |||||
* | hosts: remove / clean code | Franck Cuny | 2022-02-09 | 1 | -44/+5 |
| | | | | | | 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. | ||||
* | home-manager: simplify the configuration | Franck Cuny | 2022-02-09 | 1 | -0/+3 |
| | | | | | | | | | | | | | I'm still struggling with documentation, and I'd rather have something simple that works rather than smart and does not work. The configuration for the host imports the modules that are relevant to that host (in the case of carmel, desktop and systems). For the home-manager, I create a profile "desktop" that contains stuff related to a desktop (i3, etc), and it includes the module "common" that contains stuff that I want on any machines (so that in the future, for a machine that is a server, the home manager will only import "common"). | ||||
* | hosts: remove unneeded comments | Franck Cuny | 2022-02-08 | 1 | -6/+0 |
| | |||||
* | systems: move some packages out of host config | Franck Cuny | 2022-02-08 | 1 | -5/+0 |
| | |||||
* | carmel: use DHCP on the wireless interface | Franck Cuny | 2022-02-08 | 1 | -1/+2 |
| | |||||
* | xserver: initial configuration | Franck Cuny | 2022-02-08 | 1 | -8/+0 |
| | | | | Enable it for the desktop. | ||||
* | systems: default configuration for all systems | Franck Cuny | 2022-02-08 | 1 | -3/+0 |
| | |||||
* | carmel: initial host configuration | Franck Cuny | 2022-02-07 | 2 | -0/+144 |
Initial configuration for the desktop (carmel). |