about summary refs log tree commit diff
path: root/modules (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-20meta: bump flake dependenciesFranck Cuny1-35/+60
• Updated input 'agenix': 'github:ryantm/agenix/42d371d861a227149dc9a7e03350c9ab8b8ddd68' (2023-01-09) → 'github:ryantm/agenix/5f66c8aa774d8d488cba1cdc4f0c954d2a14e3a1' (2023-02-20) • Added input 'agenix/darwin': 'github:lnl7/nix-darwin/87b9d090ad39b25b2400029c64825fc2a8868943' (2023-01-09) • Added input 'agenix/darwin/nixpkgs': follows 'agenix/nixpkgs' • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/b537e3cba7307729bf80cdc8ef2b176727cbb645' (2023-01-10) → 'github:nix-community/emacs-overlay/d7eeebd439b52b77958eb3d8043f3262701ddee2' (2023-02-20) • Updated input 'emacs-overlay/nixpkgs': 'github:NixOS/nixpkgs/35f1f865c03671a4f75a6996000f03ac3dc3e472' (2023-01-09) → 'github:NixOS/nixpkgs/0f213d0fee84280d8c3a97f7469b988d6fe5fcdf' (2023-01-12) • Updated input 'futils': 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02) → 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13) • Updated input 'home-manager': 'github:nix-community/home-manager/176e455371a8371586e8a3ff0d56ee9f3ca2324e' (2023-01-10) → 'github:nix-community/home-manager/72ce74d3eae78a6b31538ea7ebe0c1fcf4a10f7a' (2023-02-20) • Updated input 'naersk/nixpkgs': 'github:NixOS/nixpkgs/35f1f865c03671a4f75a6996000f03ac3dc3e472' (2023-01-09) → 'github:NixOS/nixpkgs/a1291d0d020a200c7ce3c48e96090bfa4890a475' (2023-02-19) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/54644f409ab471e87014bb305eac8c50190bcf48' (2023-01-10) → 'github:NixOS/nixpkgs/0cf4274b5d06325bd16dbf879a30981bc283e58a' (2023-02-19) • Updated input 'nur': 'github:nix-community/NUR/2c47b2a0053cdb36cc08353f79eebf7a055fa18f' (2023-01-10) → 'github:nix-community/NUR/3c39aebcd09c9d6c257140e07f3d2beac4a83043' (2023-02-20) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/f8992fb404c7e79638192a10905b7ea985818050' (2023-01-09) → 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20) • Updated input 'pre-commit-hooks/flake-compat': 'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17) → 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17) • Updated input 'rust': 'github:oxalica/rust-overlay/9724998ea2caf23214674bf0c2cdf6ec0b1719af' (2023-01-10) → 'github:oxalica/rust-overlay/98f11700e398cf2ae6da905df56badc17e265021' (2023-02-20)
2023-02-09ref(home/gpg): install ykman and more configurations for GPGFranck Cuny1-2/+11
Installing the yubikey manager (ykman) to help managing the keys. Add more configurations for GPG related to keys.
2023-01-22ref(home/swaylock): different background colorFranck Cuny1-1/+1
2023-01-22ref(aptos/services): don't use autologinFranck Cuny1-1/+0
This is not working as I thought it would: I was expecting this to only work with the first login, but any time I log out of my account it logs in right away again.
2023-01-19ref(hosts/tahoe): exclude more paths from backupsFranck Cuny2-1/+11
2023-01-16feat(home/packages): install resticFranck Cuny1-0/+1
2023-01-16ref(tahoe/backups): backup fewer thingsFranck Cuny2-5/+12
I don't need to backup videos, and the cache of my home directory. I also don't need to keep that many snapshots around.
2023-01-15ref(home/matrix): replace element by fractalFranck Cuny5-14/+19
fractal(-next) is a client for matrix. It's GTK4 native and uses rust. While not much nicer looking than element, it's not an electron app, which I prefer (electron is slow, and element would freeze/crash from time to time). I renamed the module from element to matrix-client, in case I switch to something else in the future (or if there are additional configurations).
2023-01-15ref(home/python): use the default versionFranck Cuny1-2/+2
Use the default version of python for the nixos version I'm using. Remove an unused environment variable (PYTHON_HISTFILE) since it's not used (I don't remember where I got this one from, but it's not used to set the history for the python interpreter, see [1]). Add an environment variable for ipython. [1] https://github.com/python/cpython/blob/main/Lib/site.py#L468
2023-01-15ref(home/gpg): set homedir for GPG configurationsFranck Cuny1-0/+1
2023-01-15ref(home/xdg): configure a few more environment variablesFranck Cuny1-0/+3
2023-01-15ref(home/sway): auto login and enable systemd integrationFranck Cuny2-4/+8
When the laptop boots, I already have to enter a passphrase to unlock the disks, I can trust that it's me and can automatically log into the system. Enable systemd integration for sway so that the correct session is started and environment variables are imported properly.
2023-01-15ref(modules/prometheus): don't backup the dataFranck Cuny1-2/+0
I don't care if I lose this data, and it's creating a lot of churn in the backups and consuming a lot of space.
2023-01-15feat(modules/backup): enable max compressionFranck Cuny1-1/+1
2023-01-12fix(modules/gitea): correctly set the variable for log levelFranck Cuny1-1/+1
2023-01-11ref(home/swayidle): configure it using upstream moduleFranck Cuny1-18/+24
2023-01-10bump flakesFranck Cuny1-21/+21
• Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/dca61513fcd032f348aa2e3fe4606d52e848e7ce' (2023-01-09) → 'github:nix-community/emacs-overlay/b537e3cba7307729bf80cdc8ef2b176727cbb645' (2023-01-10) • Updated input 'emacs-overlay/nixpkgs': 'github:NixOS/nixpkgs/0c9aadc8eff6daaa5149d2df9e6c49baaf44161c' (2023-01-08) → 'github:NixOS/nixpkgs/35f1f865c03671a4f75a6996000f03ac3dc3e472' (2023-01-09) • Updated input 'home-manager': 'github:nix-community/home-manager/b0a3689878d4c2e8a1b02cecf8319ba8c53da519' (2023-01-09) → 'github:nix-community/home-manager/176e455371a8371586e8a3ff0d56ee9f3ca2324e' (2023-01-10) • Updated input 'naersk/nixpkgs': 'github:NixOS/nixpkgs/0c9aadc8eff6daaa5149d2df9e6c49baaf44161c' (2023-01-08) → 'github:NixOS/nixpkgs/35f1f865c03671a4f75a6996000f03ac3dc3e472' (2023-01-09) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/8c54d842d9544361aac5f5b212ba04e4089e8efe' (2023-01-08) → 'github:NixOS/nixpkgs/54644f409ab471e87014bb305eac8c50190bcf48' (2023-01-10) • Updated input 'nur': 'github:nix-community/NUR/7d6f34170b42fe49740fb9b7e4b4a7fdf530b581' (2023-01-09) → 'github:nix-community/NUR/2c47b2a0053cdb36cc08353f79eebf7a055fa18f' (2023-01-10) • Updated input 'rust': 'github:oxalica/rust-overlay/3488cec01351c2f1086b02a3a61808be7a25103e' (2023-01-09) → 'github:oxalica/rust-overlay/9724998ea2caf23214674bf0c2cdf6ec0b1719af' (2023-01-10)
2023-01-10fix(modules/gitea): what a messFranck Cuny1-3/+6
2023-01-10ref(modules/nix): update a number of settings for nixFranck Cuny1-4/+15
Inspired by https://jackson.dev/post/nix-reasonable-defaults/
2023-01-10feat(hosts/tahoe): rotate the screen 90 degreeFranck Cuny1-2/+6
The machine is connected to a rotated screen.
2023-01-10fix(services/unifi): remove prometheus.exporters.unpollerFranck Cuny1-12/+0
This does not exist in 22.11, only 23.05. Will figure out the proper way to monitor it later.
2023-01-10fix(modules/gitea): restore settings for nix 22.11Franck Cuny1-7/+3
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-8/+35
2023-01-07