Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | feat(dns): add cs.fcuny.xyz | Franck Cuny | 2022-05-22 | 1 | -0/+1 | |
| | | | | This will be used for sourcegraph. | |||||
* | feat(home): add a script to create flamegraph from a process | Franck Cuny | 2022-05-19 | 3 | -0/+28 | |
| | | | | | | | This script (`perf-flamegraph-process') takes a process as an argument, and will run it with `perf' to capture the call graph, and will generate the flamegraph from it. The SVG is saved under `~/workspace/tmp/flamegraph'. | |||||
* | feat(git): add a template for commit messages | Franck Cuny | 2022-05-18 | 2 | -40/+66 | |
| | | | | | | In order to write good commit message, having a reminder of how to write them is useful. This template provides some guidance to categorize the change and how to phrase the description. | |||||
* | nix: bump dependencies | Franck Cuny | 2022-05-16 | 1 | -28/+28 | |
| | ||||||
* | sway: comments and floating windows configuration | Franck Cuny | 2022-05-16 | 1 | -4/+27 | |
| | ||||||
* | swaybar: clean up description for bluetooth | Franck Cuny | 2022-05-16 | 1 | -1/+1 | |
| | ||||||
* | zsh: manage tmux and start sway | Franck Cuny | 2022-05-16 | 2 | -1/+16 | |
| | | | | If login, start sway. If tmux is not running, start it. | |||||
* | bluetooh: enable on aptos | Franck Cuny | 2022-05-16 | 3 | -0/+12 | |
| | ||||||
* | alacritty: better colors | Franck Cuny | 2022-05-15 | 1 | -2/+2 | |
| | ||||||
* | zsh: some cleanup | Franck Cuny | 2022-05-15 | 3 | -4/+20 | |
| | ||||||
* | terminal: once again, fix the colors | Franck Cuny | 2022-05-15 | 2 | -4/+7 | |
| | ||||||
* | zsh: switch to zsh as the default shell | Franck Cuny | 2022-05-15 | 9 | -4/+108 | |
| | | | | | | | | | | `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. | |||||
* | home: run abcde in `~/import` | Franck Cuny | 2022-05-14 | 1 | -0/+1 | |
| | ||||||
* | home: drop custom colors for alacritty | Franck Cuny | 2022-05-13 | 1 | -26/+0 | |
| | ||||||
* | home: fix name of the package for Emacs | Franck Cuny | 2022-05-13 | 1 | -1/+1 | |
| | ||||||
* | modules: fix configuration for syncthing | Franck Cuny | 2022-05-13 | 2 | -2/+8 | |
| | | | | The `documents` folder was not being synced. | |||||
* | nix: update dependencies | Franck Cuny | 2022-05-12 | 1 | -30/+62 | |
| | ||||||
* | 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. | |||||
* | home: set environment variables for drone-cli | Franck Cuny | 2022-05-12 | 1 | -1/+4 | |
| | ||||||
* | aptos: enable bluetooth | Franck Cuny | 2022-05-12 | 1 | -0/+1 | |
| | ||||||
* | add modules to manage bluetooth | Franck Cuny | 2022-05-12 | 4 | -2/+78 | |
| | ||||||
* | docs: some documentation | Franck Cuny | 2022-05-07 | 2 | -0/+28 | |
| | ||||||
* | nix: add a command `dnsupdate` to update the DNS | Franck Cuny | 2022-05-07 | 1 | -1/+13 | |
| | | | | | Running `nix run .#dnsupdate` will execute the program to ensure the configuration is correct. | |||||
* | cmd: add a command to update fcuny.xyz | Franck Cuny | 2022-05-07 | 4 | -0/+851 | |
| | | | | | | | | | | | | I'm using fcuny.xyz as a domain to run a number of services on a host using the IP provided by Tailscale. Instead of manually updating the DNS configuration in the console every time I create a new subdomain, let's do this with a small program. The program query Tailscale API to get the IP address of the host `tahoe`, and then query the DNS API to see if anything is missing or is mis-configured. If it's the case, it will resolve the problems. | |||||
* | repo: add support for direnv | Franck Cuny | 2022-05-07 | 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. | |||||
* | modules: add a few packages | Franck Cuny | 2022-05-06 | 1 | -0/+2 | |
| | ||||||
* | tahoe: enable exec runner for drone | Franck Cuny | 2022-05-02 | 1 | -1/+1 | |
| | ||||||
* | home: install the drone CLI | Franck Cuny | 2022-05-02 | 3 | -0/+10 | |
| | ||||||
* | modules: fix configuration for drone-runner-exec | Franck Cuny | 2022-05-02 | 1 | -1/+1 | |
| | ||||||
* | home: add a module for direnv | Franck Cuny | 2022-05-01 | 3 | -0/+30 | |
| | ||||||
* | 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 | 6 | -2/+46 | |
| | | | | | | | | | | | | | 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. | |||||
* | tmux: start windows at 1 | Franck Cuny | 2022-04-24 | 1 | -0/+3 | |
| | | | | Renumber windows, I prefer the consistency. | |||||
* | fish: start tmux on new session | Franck Cuny | 2022-04-24 | 1 | -3/+6 | |
| | | | | | Unless we're in a SSH connection. If there's already a session 0, attach to it. | |||||
* | scanner: install tools on the laptop | Franck Cuny | 2022-04-24 | 2 | -1/+9 | |
| | ||||||
* | gcloud: add google-cloud-sdk on trusted hosts | Franck Cuny | 2022-04-24 | 3 | -0/+12 | |
| | ||||||
* | alacritty: use custom colors | Franck Cuny | 2022-04-22 | 1 | -0/+26 | |
| | | | | The default is too dark for my eyes. | |||||
* | 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: enable on trusted machines | Franck Cuny | 2022-04-21 | 5 | -2/+17 | |
| | | | | 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 | 4 | -3/+27 | |
| | ||||||
* | syncthing: enable on tahoe | Franck Cuny | 2022-04-21 | 3 | -20/+13 | |
| | ||||||
* | syncthing: let's run it from home-manager | Franck Cuny | 2022-04-21 | 2 | -0/+15 | |
| | ||||||
* | modules: add syncthing as a new module | Franck Cuny | 2022-04-21 | 2 | -0/+12 | |
| | ||||||
* | mail: fix tags for notmuch | Franck Cuny | 2022-04-21 | 1 | -1/+1 | |
| | | | | | The default tags should be unread and new, otherwise there's nothing left for `afew` to tag. | |||||
* | flake: add checks | Franck Cuny | 2022-04-13 | 2 | -0/+77 | |
| | | | | This is not working great so far. | |||||
* | drone: backup the state directory | Franck Cuny | 2022-04-13 | 1 | -0/+2 | |
| | ||||||
* | drone: configuration fixes | Franck Cuny | 2022-04-13 | 3 | -3/+8 | |
| | ||||||
* | drone: initial attempt at configuring it | Franck Cuny | 2022-04-13 | 9 | -0/+194 | |
| | ||||||
* | 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 | 4 | -18/+34 | |
| | ||||||
* | grafana: correct domain name ... | Franck Cuny | 2022-04-13 | 1 | -1/+1 | |
| | ||||||
* | grafana: the vhost is configurable | Franck Cuny | 2022-04-13 | 2 | -5/+15 | |
| | ||||||
* | 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 | |
| | ||||||
* | tahoe: set owner for secret related to ACME | Franck Cuny | 2022-04-13 | 1 | -1/+4 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | 4 | -2/+26 | |
| | ||||||
* | nginx: get a simple solution to work first | Franck Cuny | 2022-04-13 | 3 | -304/+13 | |
| | ||||||
* | nginx: add nginx as a reverse proxy | Franck Cuny | 2022-04-13 | 5 | -1/+426 | |
| | | | | This will ultimately replace traefik. | |||||
* | fish: only start sway when sway is installed | Franck Cuny | 2022-04-13 | 1 | -6/+8 | |
| | ||||||
* | fish: execute sway on login on tty1 | Franck Cuny | 2022-04-13 | 1 | -0/+5 | |
| | ||||||
* | 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 | 11 | -13/+56 | |
| | | | | | | 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 | |
| | ||||||
* | fish: start tmux on terminal start | Franck Cuny | 2022-04-13 | 1 | -0/+6 | |
| | ||||||
* | 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 | |
| | ||||||
* | tahoe: fix backup configuration | Franck Cuny | 2022-04-11 | 1 | -2/+3 | |
| | ||||||
* | home: enable ssh config on trusted hosts | Franck Cuny | 2022-04-10 | 1 | -0/+1 | |
| | ||||||
* | secrets: move all the secrets under module/ | Franck Cuny | 2022-04-10 | 18 | -71/+76 | |
| | | | | | 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 | 8 | -75/+93 | |
| | | | | 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. | |||||
* | delete configuration related to colors | Franck Cuny | 2022-04-09 | 7 | -154/+9 | |
| | | | | | | | Setting colors is hard, and it's an easy way to waste time. The only color settings I keep are the ones related to waybar, to make sure it does not look like a Christmas tree. Which means that most applications are going to use their default theme, and I'm OK with that. | |||||
* | add a few more packages for home/ | Franck Cuny | 2022-04-09 | 8 | -1/+50 | |
| | ||||||
* | install documentations (man) | Franck Cuny | 2022-04-09 | 4 | -4/+29 | |
| | ||||||
* | add pcmanfm and easyeffects | Franck Cuny | 2022-04-09 | 4 | -0/+12 | |
| | ||||||
* | remove `mkHome` from lib | Franck Cuny | 2022-04-09 | 3 | -61/+1 | |
| | | | | | home-manager configuration is used as a module, we don't have two different ways to configure the host anymore. | |||||
* | small fixes | Franck Cuny | 2022-04-09 | 5 | -5/+5 | |
| | ||||||
* | add a few more modules to home/ and delete stuff | Franck Cuny | 2022-04-09 | 29 | -662/+93 | |
| | ||||||
* | delete all CLI modules | Franck Cuny | 2022-04-08 | 8 | -197/+0 | |
| | | | | Everything is under home/ now | |||||
* | delete all devel modules | Franck Cuny | 2022-04-08 | 4 | -28/+1 | |
| | | | | They are all under home/ now | |||||
* | remove old 'trusted' modules | Franck Cuny | 2022-04-08 | 7 | -151/+1 | |
| | | | | All of them are now under home/ | |||||
* | 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 | |
| | ||||||
* | 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`. | |||||
* | delete unused module | Franck Cuny | 2022-04-08 | 1 | -25/+0 | |
| | ||||||
* | home: move waybar's style to a CSS file | Franck Cuny | 2022-04-08 | 2 | -87/+84 | |
| | ||||||
* | home: move css/config for wofi to external files | Franck Cuny | 2022-04-08 | 3 | -52/+49 | |
| | ||||||
* | alacritty: use light colors | Franck Cuny | 2022-04-08 | 2 | -2/+34 | |
| | ||||||
* | aptos: consume the new profiles | Franck Cuny | 2022-04-08 | 4 | -3/+25 | |
| | | | | aptos is now using the new home-manager setup. | |||||
* | profiles: create a few new profiles | Franck Cuny | 2022-04-08 | 5 | -1/+67 | |
| | ||||||
* | modules: add a few more | Franck Cuny | 2022-04-08 | 8 | -3/+100 | |
| | ||||||
* | home: add more configurations for home-manager | Franck Cuny | 2022-04-08 | 22 | -0/+829 | |
| | ||||||
* | home: fix for yt-dlp configuration | Franck Cuny | 2022-04-07 | 1 | -1/+1 | |
| | ||||||
* | home: misc fixes | Franck Cuny | 2022-04-07 | 10 | -23/+24 | |
| | ||||||
* | initial attempt to reconfigure home-manager | Franck Cuny | 2022-04-07 | 17 | -1/+345 | |
| | | | | | | | | | | 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 | 8 | -51/+56 | |
| | ||||||
* | refactor traefik | Franck Cuny | 2022-04-06 | 4 | -97/+105 | |
| | ||||||
* | refactor rclone to a module | Franck Cuny | 2022-04-06 | 4 | -33/+39 | |
| | ||||||
* | refactor gitea as a module | Franck Cuny | 2022-04-06 | 4 | -42/+58 | |
| | ||||||
* | prometheus: proper name for the option | Franck Cuny | 2022-04-06 | 1 | -1/+1 | |
| | ||||||
* | refactor grafana as a module | Franck Cuny | 2022-04-06 | 8 | -42/+48 | |
| | ||||||
* | refactor prometheus as a module | Franck Cuny | 2022-04-06 | 4 | -180/+190 | |
| | ||||||
* | refactor unifi to a module | Franck Cuny | 2022-04-06 | 3 | -4/+18 | |
| | ||||||
* | import navidrome with other services | Franck Cuny | 2022-04-06 | 1 | -1/+2 | |
| | ||||||
* | refactor navidrome to a module | Franck Cuny | 2022-04-06 | 3 | -28/+46 | |
| | ||||||
* | enable AMD module correctly | Franck Cuny | 2022-04-06 | 2 | -2/+2 | |
| | ||||||
* | refactor samba to a proper module | Franck Cuny | 2022-04-06 | 4 | -35/+61 | |
| | | | | The list of public share is configurable too. | |||||
* | refactor boot configuration to a module | Franck Cuny | 2022-04-06 | 11 | -64/+68 | |
| | | | | | | | | | 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 | 4 | -67/+79 | |
| | ||||||
* | refactor intel related configuration | Franck Cuny | 2022-04-05 | 6 | -38/+40 | |
| | ||||||
* | refactor modules for btrfs, ssd, and fwupd | Franck Cuny | 2022-04-05 | 8 | -12/+19 | |
| | ||||||
* | refactor network configuration | Franck Cuny | 2022-04-05 | 8 | -29/+70 | |
| | ||||||
* | refactor security to a module | Franck Cuny | 2022-04-05 | 3 | -3/+3 | |
| | ||||||
* | refactor users to a module | Franck Cuny | 2022-04-05 | 3 | -6/+11 | |
| | ||||||
* | refactor default packages to a module | Franck Cuny | 2022-04-05 | 2 | -15/+8 | |
| | ||||||
* | move locale configuration to a module | Franck Cuny | 2022-04-05 | 3 | -9/+3 | |
| | ||||||
* | console configuration is moved to a module | Franck Cuny | 2022-04-05 | 3 | -6/+7 | |
| | ||||||
* | create a profile for laptop | Franck Cuny | 2022-04-05 | 7 | -2/+53 | |
| | ||||||
* | carmel: enable the sound | Franck Cuny | 2022-04-05 | 1 | -0/+1 | |
| | ||||||
* | network: move tailscale in modules | Franck Cuny | 2022-04-05 | 9 | -63/+78 | |
| | | | | Move the networking configuration for the hosts to its own file. | |||||
* | ssh: refactor to a module | Franck Cuny | 2022-04-05 | 5 | -8/+19 | |
| | | | | Also install mosh and ensure the firewall opens the correct ports. | |||||
* | nix: refactor to a module | Franck Cuny | 2022-04-05 | 4 | -6/+4 | |
| | ||||||
* | sound: add a new module | Franck Cuny | 2022-04-05 | 11 | -44/+59 | |
| | | | | | | | | | | 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. | |||||
* | waybar: fix colors for the workspaces | Franck Cuny | 2022-04-05 | 1 | -9/+9 | |
| | ||||||
* | 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 | |
| | ||||||
* | ncmpcpp: delete configuration | Franck Cuny | 2022-04-03 | 1 | -19/+0 | |
| | | | | I don't use this program anymore. | |||||
* | home-manager: add `isTrusted` | Franck Cuny | 2022-04-03 | 10 | -4/+7 | |
| | | | | | | | | | | Install and configure some programs only on trusted machines. On trusted machines, my mails, GPG and a few other things are configured. A machine where this is not needed on a regular basis to get things done don't need that much information. Also rename `desktop/trust` to `trusted`, in case we want these packages on a host that is not a desktop, and `trusted` is a better description. | |||||
* | 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. | |||||
* | firefox: set duckduckgo as default search engine | Franck Cuny | 2022-04-03 | 1 | -9/+20 | |
| | | | | This is not really working, need to figure this out. | |||||
* | set the music directory based on host's name | Franck Cuny | 2022-04-03 | 1 | -4/+8 | |
| | ||||||
* | rename `desktop` to `isDesktop` | Franck Cuny | 2022-04-03 | 5 | -10/+11 | |
| | | | | | | | | The variable is used to define the kind of machine we're managing. `isDesktop` is a bit more descriptive. We import `devel` for all machines, and we fine tune which packages we want to install based on the value of `isDesktop`. | |||||
* | remove mytools | Franck Cuny | 2022-04-03 | 2 | -47/+1 | |
| | | | | I don't need this for now, as I've replace music-organizer with beets. | |||||
* | email: use afew to filter emails | Franck Cuny | 2022-04-03 | 1 | -25/+17 | |
| | | | | This is still not working as I want, will need more iteration. | |||||
* | simplify multimedia for the desktop | Franck Cuny | 2022-04-03 | 8 | -119/+16 | |
| | | | | | | | | | | | I don't need to have systemd units to synchronize medias from a desktop to the NAS: I'll download all the medias on the NAS directly. I don't need to have a module for each type of media, there's not enough configuration to justify that complexity. I also don't need anymore mpd and co. as I'm using navidrome to host the music on the NAS and sublime-music to listen to it on the desktop. | |||||
* | 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. | |||||
* | consolidate configuration for music curation | Franck Cuny | 2022-04-01 | 3 | -18/+14 | |
| | ||||||
* | swaybar: simplify colors | Franck Cuny | 2022-03-31 | 1 | -18/+17 | |
| | ||||||
* | beets: how to manage soundtracks | Franck Cuny | 2022-03-31 | 1 | -2/+1 | |
| | ||||||
* | beets: more configuration | Franck Cuny | 2022-03-31 | 1 | -2/+17 | |
| | ||||||
* | beets: fix configuration + discogs | Franck Cuny | 2022-03-30 | 1 | -4/+5 | |
| | ||||||
* | beets: a few configuration changes | Franck Cuny | 2022-03-30 | 1 | -2/+6 | |
| | ||||||
* | beets: tool to curate my music collection | Franck Cuny | 2022-03-30 | 2 | -2/+27 | |
| | ||||||
* | 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 | 3 | -10/+27 | |
| | ||||||
* | nas: install correctly music-organizer | Franck Cuny | 2022-03-27 | 1 | -1/+1 | |
| | ||||||
* | nas: install music-organizer | Franck Cuny | 2022-03-27 | 3 | -8/+44 | |
| | ||||||
* | 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 | |
| | ||||||
* | alacritty: use the default colors | Franck Cuny | 2022-03-25 | 2 | -53/+0 | |
| | ||||||
* | shell: switch from zsh to fish | Franck Cuny | 2022-03-25 | 5 | -53/+14 | |
| | | | | why not ? | |||||
* | docs: add more documentation! | Franck Cuny | 2022-03-25 | 3 | -0/+207 | |
| | ||||||
* | rclone: correct path for the backups | Franck Cuny | 2022-03-15 | 1 | -2/+2 | |
| | ||||||
* | sway: switch back to waybar | Franck Cuny | 2022-03-14 | 2 | -72/+132 | |
| | | | | | Get rid of icons, use plain text with different colors depending on the state. | |||||
* | theme: dont' set alacritty bg and fg | Franck Cuny | 2022-03-14 | 1 | -3/+0 | |
| | ||||||
* | 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. | |||||
* | desktop: element and theme | Franck Cuny | 2022-03-12 | 1 | -0/+4 | |
| | ||||||
* | terminal: nixfmt | Franck Cuny | 2022-03-12 | 1 | -10/+4 | |
| | ||||||
* | wofi: color + nixfmt | Franck Cuny | 2022-03-12 | 1 | -4/+2 | |
| | ||||||
* | notification: fix timeout and document | Franck Cuny | 2022-03-12 | 1 | -8/+8 | |
| | ||||||
* | devel: add more packages | Franck Cuny | 2022-03-12 | 1 | -1/+1 | |
| | ||||||
* | 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 | 4 | -0/+32 | |
| | | | | | | 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. | |||||
* | wm: ensure element is assigned to space #4 | Franck Cuny | 2022-03-10 | 1 | -0/+1 | |
| | ||||||
* | sway: formatting, colors, wlogout | Franck Cuny | 2022-03-09 | 1 | -44/+75 | |
| | ||||||
* | 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 | |
| | ||||||
* | go: ensure GOBIN is in PATH | Franck Cuny | 2022-03-09 | 1 | -1/+3 | |
| | ||||||
* | 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 | 2 | -0/+118 | |
| | | | | | | | 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 | |
| | ||||||
* | restic: add the secret for the repo 'systems' | Franck Cuny | 2022-03-07 | 2 | -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 | 3 | -5/+33 | |
| | ||||||
* | 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 | 4 | -0/+90 | |
| | | | | | | | | | 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 | |
| | ||||||
* | backups: do the backup over ssh | Franck Cuny | 2022-03-05 | 1 | -7/+7 | |
| | | | | | We're using ssh instead of the rest server, we're also pushing them to a different repo, where I don't need to be root. | |||||
* | samba: fix path for music, add videos | Franck Cuny | 2022-03-05 | 1 | -1/+7 | |
| |