about summary refs log tree commit diff
path: root/hosts (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-10fix(hosts/tahoe): workaround md raid boot uuid issue in 22.11Franck Cuny1-2/+2
Due to md device uuid availability issue in initrd. Refs: - https://github.com/NixOS/nixpkgs/issues/196800 - https://github.com/NixOS/nixpkgs/issues/199551
2023-01-09fix(modules/unifi): pin the package for mongodbFranck Cuny1-0/+1
Similar to 6c0211b.
2023-01-09fix(hosts/tahoe): mask mdmonitorFranck Cuny1-0/+5
This is a broken unit and I don't need it (see https://github.com/nixos/nixpkgs/issues/72394).
2023-01-09ref(flake): let's stay on stableFranck Cuny2-33/+33
There's no need to be on unstable, I prefer break things only twice a year instead of every time I run an update ...
2023-01-08fix(modules/unifi): proper monitoring and latest versionFranck Cuny2-3/+18
They've recently removed from nixpkgs the version of mongodb that was used by unifi. I updated to the latest version (7) and did the migration of the DB manually (see https://github.com/NixOS/nixpkgs/pull/207382): ``` nix-shell -p mongodb-3_4 mongodb-tools mongod --dbpath /var/lib/unifi/data/db --logpath /var/log/unifi/repair.log --repair mongod --dbpath /var/lib/unifi/data/db --logpath /var/log/unifi/repair.log --journal --fork mongodump --out=/root/mongodump pkill mongod exit nix-shell -p mongodb-4_2 mongodb-tools mv /var/lib/unifi/data/db /var/lib/unifi/data/db_bak mkdir /var/lib/unifi/data/db mongod --dbpath /var/lib/unifi/data/db --logpath /var/log/unifi/repair.log --journal --fork mongorestore /root/mongodump pkill mongod ``` Once this was done, the exporter was also broken, has it has been renamed. There are two different services for it in nixpkgs: `services.unpoller` and `services.prometheus.exporters.unpoller`. Only the last one works. From what I can tell, everything is working now.
2023-01-07ref(flake): use latest version for nixosFranck Cuny2-47/+31
Don't pin, just use latest.
2023-01-07fix(home/emacs): don't install nixpkgs-fmt hereFranck Cuny1-1/+0
2023-01-07fix(home/mail): set the full path to notmuch config for afewFranck Cuny1-2/+2
It's expecting the configuration in a different place. I think some environment variable are not propagated correctly, might look into this later.
2023-01-07fix(home/python): don't specify the versionFranck Cuny1-2/+1
Use what ever is the latest version set by nix, and don't install poetry (it seems to be broken at the moment).
2023-01-07fix(home/sway): set the environment variable correctlyFranck Cuny1-1/+1
2023-01-07fix(modules/gitea): the linter corrupted the file ...Franck Cuny1-15/+0
2023-01-07fix(modules/sendsms): run it as root for nowFranck Cuny1-2/+0
I need to figure a way to make it run as a dynamic user, while still having access to the credentials for twilio, while not changing the permissions to the file.
2023-01-07fix(modules/unifi): remove the pollerFranck Cuny1-32/+0
The poller refuses to start, as the name of the binary has been updated, and the upstream module is not reflecting that change. The service has also been renamed from `unifi-poller` to `unpoller`, but this is not working for now. Let's get rid of it as a temporary fix while looking at the correct solution.
2023-01-07fix(modules/grafana): a number of options have been renamedFranck Cuny2-8/+11
2023-01-07fix(modules/gitea): a number of options have been renamedFranck Cuny1