Commit graph

1373 commits

Author SHA1 Message Date
Bruno BELANYI 2528a46110 WIP: add notes for missing persistence/backup
All checks were successful
ci/woodpecker/push/check Pipeline was successful
TODO:
* Look at for more inspiration https://github.com/nix-community/impermanence/pull/108
* Do home-manager
* Common files https://github.com/nix-community/impermanence/issues/10
2023-11-11 18:35:30 +00:00
Bruno BELANYI 0fd440e83c nixos: services: quassel: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI e557cd3ee6 nixos: services: pirate: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 10ba0760dd nixos: services: monitoring: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI d38cec0901 nixos: services: nginx: persist SSL certificates 2023-11-11 18:35:30 +00:00
Bruno BELANYI 8b3ab7e75e nixos: services: transmission: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 39a741cf97 nixos: services: sabnzbd: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 2e8325321c nixos: services: rss-bridge: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 49bbf326b8 nixos: services: podgrab: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 7f8939ec12 nixos: services: nextcloud: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 4cfe8d63ab nixos: services: navidrome: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI fffa000c67 nixos: services: lohr: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 51de6ccdcd nixos: services: jellyfin: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 6f43b4d3c8 nixos: services: indexers: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 02b47e2cff nixos: services: postgresql: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI ee6cc339b9 nixos: services: postgresql-backup: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI d741994670 nixos: services: paperless: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 1ad232e93b nixos: services: matrix: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 821399c578 nixos: services: gitea: persist repositories 2023-11-11 18:35:30 +00:00
Bruno BELANYI 77fe60921b nixos: services: flood: persist data 2023-11-11 18:35:30 +00:00
Bruno BELANYI fb2c6ada0c nixos: services: calibre-web: persist library 2023-11-11 18:35:30 +00:00
Bruno BELANYI 2995fda308 nixos: services: blog: persist website data 2023-11-11 18:35:30 +00:00
Bruno BELANYI 36a998a7d5 nixos: hardware: bluetooth: persist connections 2023-11-11 18:35:30 +00:00
Bruno BELANYI f51c8df502 nixos: hardware: netowrking persist connections 2023-11-11 18:35:30 +00:00
Bruno BELANYI 6493342400 nixos: services: ssh-server: persist host keys 2023-11-11 18:35:30 +00:00
Bruno BELANYI 991c9c622c WIP: nixos: system: add persist
This is the module that takes care of configuring impermanence at the
system level.

WIP:
    * address FIXMEs
    * activate home-manager persistence?
        * set `programs.fuse.userAllowOther = true;` ?
    * point `age` to persisted paths [1] ?
    * make sure all services and modules are persisted correctly...

[1]: b1d18d25b8
2023-11-11 18:35:30 +00:00
Bruno BELANYI 9c4e15103c flake: add 'impermanence' 2023-11-11 18:35:30 +00:00
Bruno BELANYI 570349e80f nixos: profiles: move from top-level
All checks were successful
ci/woodpecker/push/check Pipeline was successful
My profiles are actually just "special" NixOS modules in that they
orchestrate settings that usually span the NixOS/home-manager boundary,
or otherwise set up configurations from multiple modules at once.
2023-11-11 18:12:05 +00:00
Bruno BELANYI 65a8f7c481 home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the
top-level directory.
2023-11-11 18:12:05 +00:00
Bruno BELANYI c856933803 nixos: create 'modules/nixos' folder
Let's consolidate all modules under one path, so that NixOS,
home-manager, and nix-darwin (if I ever end up using it down the line)
would go under the same folder.
2023-11-11 18:11:52 +00:00
Bruno BELANYI b52e56ed08 modules: home: use 'self'-relative import 2023-11-11 18:07:31 +00:00
Bruno BELANYI 27564cad42 modules: system: printing: move from 'profiles'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This isn't really a cross-cutting module, it should be a module rather
than a profile.
2023-11-11 17:59:49 +00:00
Bruno BELANYI 32ec402ad0 pkgs: remove volantes-cursors
All checks were successful
ci/woodpecker/push/check Pipeline was successful
It has been packaged upstream.
2023-11-07 16:52:13 +00:00
Bruno BELANYI cc331b73c7 treewide: fix postgres service dependencies
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Some were missing a `requires` even though they had `after`, and
woodpecker was missing it entirely.
2023-11-06 20:55:53 +00:00
Bruno BELANYI 830e7bb865 modules: services: woodpecker: fix interpolation 2023-11-06 20:54:42 +00:00
Bruno BELANYI 7f857ab661 hosts: homes: mousqueton: fix formatting
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-10-31 14:56:21 +00:00
Bruno BELANYI 8ad02dd74d hosts: nixos: porthos: system: disable cache
All checks were successful
ci/woodpecker/push/check Pipeline was successful
We're never going to get a cache hit, since this is the host for that
cache.
2023-10-31 14:00:47 +00:00
Bruno BELANYI 249ee14d39 overlays: add 'tandoor-recipes-bump-allauth'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This should only be temporary until they release a new version which
_does_ support the middleware (see [1]).

[1]: https://github.com/TandoorRecipes/recipes/pull/2706
2023-10-31 12:20:47 +00:00
Bruno BELANYI 9b71708e3a flake: bump inputs 2023-10-31 11:56:39 +00:00
Bruno BELANYI ca4fac3c54 hosts: nixos: porthos: fix tmux 24-bit color
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Well at least this fixes it for the usual client (my laptop).
2023-10-30 13:33:27 +00:00
Bruno BELANYI 6a8f93df1f modules: services: nginx: fix obsolete doc
All checks were successful
ci/woodpecker/push/check Pipeline was successful
It's annoying to keep it in sync when adding a new incompatible option.
2023-10-28 12:14:45 +01:00
Bruno BELANYI 42ab12179e hosts: homes: mousqueton: use 'trueColorTerminals'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Ah, much better with an actual option for this :-).
2023-10-26 19:39:44 +01:00
Bruno BELANYI 3a1ccea142 home: tmux: add 'trueColorTerminals'
This uses the recommended way of enabling true-color [1].

[1]: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour
2023-10-26 19:37:04 +01:00
Bruno BELANYI c01f657e8d lib: lists: add 'nullableToList' 2023-10-26 19:36:32 +01:00
Bruno BELANYI bd69e28143 home: firefox: migrate deprecated option
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-10-26 15:19:55 +00:00
Bruno BELANYI 516df86b3f home: vim: migrate to 'none-ls-nvim'
This is the community-maintained fork of the plug-in.
2023-10-26 15:19:55 +00:00
Bruno BELANYI 28187c3b8f overlays: add 'gruvbox-nvim-better-diff'
I dislike the new style of diff [1].

After somebody wrote a patch [2] I finally started experimenting with
what looked best to me.

This is using the old vibrant colours, which I like better. And avoids
using `reverse = true` to not break high-lighting during visual
selection.

This is using an overlay as it is _much_ easier to refer to the internal
colours in a `dark`/`light` agnostic way that way instead of the
intended "use the palette way" (due to breaking changes in [3] which,
incidentally, is the MR which changed diff high-lighting).

[1]: https://github.com/ellisonleao/gruvbox.nvim/issues/290
[2]: https://github.com/ellisonleao/gruvbox.nvim/pull/291
[3]: https://github.com/ellisonleao/gruvbox.nvim/pull/280
2023-10-26 15:19:50 +00:00
Bruno BELANYI 0795a3d29b flake: bump inputs
And fix a removed nextcloud option.
2023-10-26 13:44:43 +00:00
Bruno BELANYI 5248eb59f8 hosts: homes: mousqueton: fix tmux 24-bit color
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This is based on this answer [1] from Stack Overflow.

I'll have to look into what the proper fix would be in general, this is
just a band-aid to get it working correctly while SSH-ing from my
laptop.

[1]: https://stackoverflow.com/a/41786092
2023-10-26 12:27:33 +00:00
Bruno BELANYI b4c2cc581b modules: services: matrix: add sliding sync 2023-10-26 12:27:00 +00:00