| 13 Nov 2023 |
raitobezarius | or you can have a postgresql-$myservice-install-permissions.service oneshot thingie | 14:03:56 |
raitobezarius | I posted https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/39?u=raitobezarius | 14:05:10 |
bendlas | In reply to @raitobezarius:matrix.org or you can have a postgresql-$myservice-install-permissions.service oneshot thingie good point. I'm wondering if we should advise people to do that instead of mkOrder sorcery | 14:06:26 |
raitobezarius | Yep, I think that might be the best option | 14:06:43 |
raitobezarius | We already have people doing local ensure logic in their own modules depending on the circumstances | 14:07:10 |
raitobezarius | We just move more complexity to NixOS modules authors | 14:07:18 |
bendlas | only fly in the ointment: With pre-15 psql, where db user isn't the owner, I think this wouldn't work, creating yet another lockstep - constraint on psql version :/ | 14:10:05 |
raitobezarius | we only need to provide the information | 14:10:55 |
raitobezarius | nixpkgs nixos modules are fine | 14:10:57 |
raitobezarius | non-nixpkgs nixos modules will probably have issues | 14:11:05 |
raitobezarius | we have to write documentation with this in mind | 14:11:09 |