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
Turns out the wireplumber configuration I was setting up is redundant
with the upstream default (which work better, becomes they use a quirks
database...).
It was also out-of-date due to the update to v0.5, which changed the
configuration format...
Turns out the package update [1] was because someone couldn't make it
work on the previous version, and added a new setting to configure it
more easily :-).
[1]: https://github.com/NixOS/nixpkgs/pull/314294
In the migration to `tmpfiles.d(5)`, I used the wrong type of file.
Using `f` would write the path to the file as its content, rather than
copy it. Unfortunately `C` and `C+` do not overwrite an existing file,
so using a symlink it the correct solution here.
This means the SSH key file must have `lohr` as an owner... Perhaps I
should make it so the service can read the file itself, rather than
rely on the filesystem location, so that I don't have to contort myself
quite so much to make it work.
OVH/Kimsufi are deprecating my current server by the end of the year. So
let's migrate to a new host.
This was more painful than initially planned, OVH introduced a change to
their rescue system which messes with the NixOS installation [1].
In the end I used a kexec image [2] to run the installation.
[1]: https://github.com/NixOS/nix/issues/7790
[2]: https://github.com/nix-community/nixos-images