Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-04-03 | create a new role for navidrome | Franck Cuny | 3 | -26/+35 | |
Apply the role to tahoe. | |||||
2022-04-03 | firefox: set duckduckgo as default search engine | Franck Cuny | 1 | -9/+20 | |
This is not really working, need to figure this out. | |||||
2022-04-03 | set the music directory based on host's name | Franck Cuny | 1 | -4/+8 | |
2022-04-03 | rename `desktop` to `isDesktop` | Franck Cuny | 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`. | |||||
2022-04-03 | remove mytools | Franck Cuny | 2 | -47/+1 | |
I don't need this for now, as I've replace music-organizer with beets. | |||||
2022-04-03 | email: use afew to filter emails | Franck Cuny | 1 | -25/+17 | |
This is still not working as I want, will need more iteration. | |||||
2022-04-03 | simplify multimedia for the desktop | Franck Cuny | 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. | |||||
2022-04-02 | nas: add videos to the backups | Franck Cuny | 1 | -7/+2 | |
We also don't need the music-organizer anymore since we're switching to beets. | |||||
2022-04-01 | consolidate configuration for music curation | Franck Cuny | 3 | -18/+14 | |
2022-03-31 | swaybar: simplify colors | Franck Cuny | 1 | -18/+17 | |
2022-03-31 | beets: how to manage soundtracks | Franck Cuny | 1 | -2/+1 | |
2022-03-31 | beets: more configuration | Franck Cuny | 1 | -2/+17 | |
2022-03-30 | beets: fix configuration + discogs | Franck Cuny | 1 | -4/+5 | |
2022-03-30 | beets: a few configuration changes | Franck Cuny | 1 | -2/+6 | |
2022-03-30 | beets: tool to curate my music collection | Franck Cuny | 2 | -2/+27 | |
2022-03-28 | nas: backup navidrome data and add music subdomain | Franck Cuny | 2 | -0/+14 | |
2022-03-28 | nas: bind navidrome to all interfaces | Franck Cuny | 1 | -1/+4 | |
2022-03-28 | nas: initial setup for navidrome | Franck Cuny | 2 | -0/+9 | |
2022-03-27 | nas: install music-organizer from the main branch | Franck Cuny | 3 | -10/+27 | |
2022-03-27 | nas: install correctly music-organizer | Franck Cuny | 1 | -1/+1 | |
2022-03-27 | nas: install music-organizer | Franck Cuny | 3 | -8/+44 | |
2022-03-26 | prometheus: stop scraping the NAS | Franck Cuny | 1 | -4/+2 | |
we're shutting it down! | |||||
2022-03-25 | common: ensure zsh is installed | Franck Cuny | 1 | -0/+1 | |
2022-03-25 | gitea: remove invalid configuration | Franck Cuny | 1 | -1/+0 | |
2022-03-25 | alacritty: use the default colors | Franck Cuny | 2 | -53/+0 | |
2022-03-25 | shell: switch from zsh to fish | Franck Cuny | 5 | -53/+14 | |
why not ? | |||||
2022-03-25 | docs: add more documentation! | Franck Cuny | 3 | -0/+207 | |
2022-03-15 | rclone: correct path for the backups | Franck Cuny | 1 | -2/+2 | |
2022-03-14 | sway: switch back to waybar | Franck Cuny | 2 | -72/+132 | |
Get rid of icons, use plain text with different colors depending on the state. | |||||
2022-03-14 | theme: dont' set alacritty bg and fg | Franck Cuny | 1 | -3/+0 | |
2022-03-14 | rclone: fix the path | Franck Cuny | 1 | -1/+1 | |
2022-03-13 | prometheus: scrape gitea metrics | Franck Cuny | 1 | -0/+6 | |
2022-03-13 | gitea: enable metrics endpoint | Franck Cuny | 1 | -0/+1 | |
2022-03-13 | server: typo | Franck Cuny | 1 | -4/+2 | |
2022-03-13 | rclone: rewrite the service unit | Franck Cuny | 1 | -5/+6 | |
2022-03-12 | default: install ethtool everywhere | Franck Cuny | 1 | -0/+1 | |
2022-03-12 | prometheus: collect more stuff | Franck Cuny | 1 | -1/+1 | |
2022-03-12 | hosts: add profiles | Franck Cuny | 4 | -17/+18 | |
Profiles contain a collection of modules. | |||||
2022-03-12 | desktop: element and theme | Franck Cuny | 1 | -0/+4 | |
2022-03-12 | terminal: nixfmt | Franck Cuny | 1 | -10/+4 | |
2022-03-12 | wofi: color + nixfmt | Franck Cuny | 1 | -4/+2 | |
2022-03-12 | notification: fix timeout and document | Franck Cuny | 1 | -8/+8 | |
2022-03-12 | devel: add more packages | Franck Cuny | 1 | -1/+1 | |
2022-03-12 | users: add another ssh key | Franck Cuny | 1 | -2/+8 | |
2022-03-12 | containers: enable dockerd and containerd on aptos | Franck Cuny | 1 | -0/+11 | |
2022-03-11 | rclone: add users backup | Franck Cuny | 1 | -11/+12 | |
2022-03-11 | nas: enable rclone configuration | Franck Cuny | 1 | -0/+1 | |
2022-03-11 | prometheus: scrap more endpoints | Franck Cuny | 1 | -0/+30 | |
2022-03-11 | rclone: synchronize restic repo to GCS | Franck Cuny | 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. | |||||
2022-03-10 | wm: ensure element is assigned to space #4 | Franck Cuny | 1 | -0/+1 | |
2022-03-09 | sway: formatting, colors, wlogout | Franck Cuny | 1 | -44/+75 | |
2022-03-09 | traefik: typo | Franck Cuny | 1 | -1/+1 | |
2022-03-09 | traefik: make the rules as specific as possible | Franck Cuny | 1 | -2/+4 | |
Otherwise, `git` will conflict, since it exists on both domains. | |||||
2022-03-09 | traefik: typo | Franck Cuny | 1 | -5/+5 | |
2022-03-09 | gitea: typo | Franck Cuny | 1 | -1/+1 | |
2022-03-09 | traefik: handle fcuny.net and fcuny.xyz | Franck Cuny | 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. | |||||
2022-03-09 | gitea: do a backup with restic | Franck Cuny | 1 | -0/+12 | |
2022-03-09 | gitea: we need to specify the user for the DB | Franck Cuny | 1 | -1/+4 | |
2022-03-09 | go: ensure GOBIN is in PATH | Franck Cuny | 1 | -1/+3 | |
2022-03-09 | system: install sqlite | Franck Cuny | 1 | -3/+3 | |
It's always useful to have it around. | |||||
2022-03-08 | gitea: initial configuration | Franck Cuny | 2 | -0/+28 | |
2022-03-08 | nas: backup photos and music | Franck Cuny | 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. | |||||
2022-03-07 | backups: spread them so they don't clash | Franck Cuny | 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. | |||||
2022-03-07 | grafana: backup the data directory | Franck Cuny | 1 | -0/+14 | |
2022-03-07 | prometheus: backup the data directory | Franck Cuny | 1 | -0/+14 | |
2022-03-07 | unifi: backup the data to the local reo | Franck Cuny | 1 | -0/+14 | |
2022-03-07 | restic: add the secret for the repo 'systems' | Franck Cuny | 2 | -0/+14 | |
2022-03-06 | prometheus: scrap unifi poller on the correct IP | Franck Cuny | 1 | -1/+1 | |
2022-03-06 | prometheus: scrape from unifi-poller | Franck Cuny | 1 | -31/+40 | |
2022-03-06 | unifi: set the correct name for the poller's unit | Franck Cuny | 1 | -2/+2 | |
2022-03-06 | traefik: proper configuration for unifi | Franck Cuny | 1 | -0/+14 | |
2022-03-06 | unifi: configure the poller | Franck Cuny | 3 | -5/+33 | |
2022-03-06 | unifi: add unifi on the NAS | Franck Cuny | 2 | -0/+54 | |
2022-03-06 | transmission: disable the rpc allowlist | Franck Cuny | 1 | -2/+1 | |
This is not working as I think, will follow up later. | |||||
2022-03-06 | traefik: add transmission (bt.fcuny.xyz) | Franck Cuny | 1 | -2/+4 | |
2022-03-06 | nas: install transmission | Franck Cuny | 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. | |||||
2022-03-06 | grafana: rename the instance for the router | Franck Cuny | 1 | -16/+16 | |
2022-03-06 | grafana: add a few more dashboards | Franck Cuny | 3 | -0/+10539 | |
2022-03-06 | tahoe: enable tailscale | Franck Cuny | 1 | -0/+1 | |
2022-03-06 | traefik: getting a working configuration | Franck Cuny | 1 | -22/+21 | |
2022-03-06 | traefik: second attempt, simple | Franck Cuny | 2 | -52/+35 | |
2022-03-06 | traefik: initial configuration | Franck Cuny | 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. | |||||
2022-03-05 | backups: unit to run maintenance on my backups | Franck Cuny | 2 | -0/+26 | |
This will be run via a timer once a day, to perform maintenance on my backups on the nas. | |||||
2022-03-05 | prometheus: scrape nodeexporter for the rtr | Franck Cuny | 1 | -15/+24 | |
2022-03-05 | backups: do the backup over ssh | Franck Cuny | 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. | |||||
2022-03-05 | samba: fix path for music, add videos | Franck Cuny | 1 | -1/+7 | |
2022-03-05 | tahoe: remove creation of some directories | Franck Cuny | 1 | -29/+9 | |
2022-03-05 | tahoe: new hardware configuratio | Franck Cuny | 1 | -21/+13 | |
2022-03-05 | aptos: remove mem_sleep_default | Franck Cuny | 1 | -1/+0 | |
The laptop was rebooting when I'd open the lid. | |||||
2022-03-05 | tailscale: add tailscale to the laptop (aptos) | Franck Cuny | 2 | -0/+7 | |
2022-03-05 | git: sign with GPG only when one desktop | Franck Cuny | 3 | -10/+30 | |
Move the configuration for git that requires the signing to pass, and use the `pass-git-helper` to manage the secrets. | |||||
2022-03-05 | git: nixfmt | Franck Cuny | 1 | -3/+1 | |
2022-03-05 | agenix: rekey secrets | Franck Cuny | 3 | -7/+13 | |
Reinstalled tahoe, new ssh key for the host. | |||||
2022-03-04 | aptos: nixfmt | Franck Cuny | 1 | -17/+10 | |
2022-03-04 | scan-print: tools for scanning and printing | Franck Cuny | 2 | -0/+6 | |
2022-03-04 | home: switch to emacsclient for EDITOR | Franck Cuny | 1 | -1/+2 | |
2022-03-04 | devel: install nixfmt | Franck Cuny | 1 | -1/+1 | |
Useful to format modules consistently. | |||||
2022-03-04 | nix: format the module | Franck Cuny | 1 | -10/+3 | |
2022-03-04 | ssh: new module, and load it for my user | Franck Cuny | 2 | -1/+19 | |
2022-03-04 | nix: format the buffer | Franck Cuny | 1 | -14/+3 | |
2022-03-02 | zsh: move the configuration inline | Franck Cuny | 2 | -31/+30 | |
I don't have a lot of things I care about for zsh, I can inline everything. | |||||
2022-03-02 | tahoe: enable wireguard | Franck Cuny | 1 | -0/+1 | |
2022-03-02 | grafana: disable analytics correctly | Franck Cuny | 1 | -1/+2 | |
2022-03-02 | wireguard: set the externalIP | Franck Cuny | 1 | -0/+3 | |
2022-03-02 | wireguard: drop configuration for aptos | Franck Cuny | 1 | -7/+0 | |
This is done in the module itself. | |||||
2022-03-02 | wireguard: revert to previous port | Franck Cuny | 1 | -1/+1 | |
2022-03-02 | prometheus: relabel some machines | Franck Cuny | 1 | -12/+20 | |
Don't use the IP from wireguard as the name of the host, let's map to the actual hostname. | |||||
2022-03-02 | wireguard: use agenix from the module | Franck Cuny | 1 | -2/+8 | |
This is the correct way to set up the private key, let's see if this works consistently across hosts and reboots. | |||||
2022-03-02 | users: remove rsa key | Franck Cuny | 1 | -1/+0 | |
2022-03-02 | grafana: disable analytics | Franck Cuny | 1 | -0/+1 | |
2022-03-01 | secrets: add a new key and rekey existing keys | Franck Cuny | 3 | -20/+22 | |
2022-02-28 | grafana: provision dashboards | Franck Cuny | 2 | -0/+14120 | |
Start with node-exporter-full dashboard. | |||||
2022-02-28 | grafana: setup provisioning correctly | Franck Cuny | 1 | -6/+9 | |
2022-02-28 | grafana: fix | Franck Cuny | 1 | -1/+1 | |
2022-02-28 | grafana: configure admin user and data sources | Franck Cuny | 1 | -1/+9 | |
2022-02-28 | grafana: initial configuration | Franck Cuny | 2 | -0/+10 | |
2022-02-28 | prometheus: initial configuration for the server | Franck Cuny | 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. | |||||
2022-02-27 | users: change my ssh key for the laptop | Franck Cuny | 1 | -1/+2 | |
2022-02-27 | hosts: ensure we have bash and zsh | Franck Cuny | 1 | -0/+3 | |
2022-02-27 | nas: consume everything from the server profile | Franck Cuny | 1 | -0/+1 | |
2022-02-27 | server: create a new profile | Franck Cuny | 2 | -0/+19 | |
This is a profile for servers related stuff. We start with monitoring for now. | |||||
2022-02-27 | firefox: a few more settings | Franck Cuny | 1 | -4/+11 | |
2022-02-27 | tahoe: create some directories | Franck Cuny | 1 | -0/+15 | |
Ensure at least /data/media/music is created with the proper ownership. | |||||
2022-02-27 | samba: fix configuration | Franck Cuny | 1 | -3/+3 | |
Some settings were missing, others incorrect, and the name of the share was also incorrect. | |||||
2022-02-27 | tahoe: include NAS profile | Franck Cuny | 1 | -0/+1 | |
2022-02-27 | NAS: initial configuration | Franck Cuny | 2 | -0/+34 | |
For now we only want samba on it. | |||||
2022-02-27 | hardware: enable btrfs scrubber and fstrimmer | Franck Cuny | 1 | -0/+3 | |
2022-02-27 | i3status: clean up formatting | Franck Cuny | 1 | -2/+2 | |
2022-02-27 | firefox: add plugins and configurations | Franck Cuny | 1 | -0/+29 | |
2022-02-27 | flake: add new overlay: NUR | Franck Cuny | 3 | -1/+22 | |
NUR is the nux user repository, which provides additional packages. | |||||
2022-02-27 | docs: add partition setup for the NAS | Franck Cuny | 1 | -2/+43 | |
2022-02-27 | xdg: let's drop the mime configuration | Franck Cuny | 1 | -13/+0 | |
Let's rely on the default for now. | |||||
2022-02-27 | software: drop nautilus, add a few more things | Franck Cuny | 2 | -5/+13 | |
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. | |||||
2022-02-27 | pam: drop GDM configuration | Franck Cuny | 1 | -2/+0 | |
I don't use GDM anymore. | |||||
2022-02-27 | aptos: use the hardware module for xps9300 | Franck Cuny | 2 | -1/+1 | |
2022-02-27 | hardware: start capturing hardware related stuff | Franck Cuny | 2 | -0/+10 | |
Create a new module for hardware related things, in order to configure correctly the various machines. | |||||
2022-02-27 | sway: import systemd environments on startup | Franck Cuny | 1 | -0/+3 | |
2022-02-27 | sway: assign applications to workspaces | Franck Cuny | 1 | -0/+5 | |
2022-02-27 | mako: run with systemd | Franck Cuny | 1 | -5/+16 | |
2022-02-27 | devel: install LSP for nix | Franck Cuny | 1 | -0/+1 | |
2022-02-27 | mako: add notification daemon | Franck Cuny | 2 | -0/+16 | |
2022-02-27 | wofi: tweak the UI | Franck Cuny | 2 | -43/+26 | |
2022-02-27 | swaylock: don't display the keyboard layout | Franck Cuny | 1 | -0/+1 | |
2022-02-27 | sway: re-organize the modules | Franck Cuny | 7 | -42/+25 | |