!bpd@lemmy.world
neoney
Thanks, gonna watch it. I wonder if it’s possible to set up some bot account that would just search for communuties to make them accessible?
I have an NFC tag which has a homeassistant action written to it, and it’s also set up in Shortcuts as an automation. It works on Android, and iOS! So no, you can’t override the shortcuts trigger.
Wish it would at least copy the instance list when federating, or have it as an option
Feels so empty browsing All when it’s identical to Subscribed
test
Sorry, missed a character, try again
Oh hello, my instance is on NixOS!
There's a NixOS module for lemmy, but it's kind of broken right now and in the middle of a PR. If you want, you can replace the current nix package with the one from the fork, and successfully deploy it, however, if I were you, I'd just wait a week or so.
The configuration right now requires a bunch of hacks, and even doing some non-reproducible stuff.
Okay, I've actually figured simplifying it out, it's not that bad. Let me share my config:
First, since the PR isn't in
nixos-unstable
yet, I'm adding the fork as a flake inputthen, in my system configuration, I add this:
and, that's it!
However, I'm not sure if it will cleanly deploy, as you might get an error while starting.
If so, please check postgresql logs
sudo journalctl -fu postgresql
. The error will most likely be something like this:[...]
[10289] ERROR: permission denied: "RI_ConstraintTrigger_a_16639" is a system trigger
[...]If that happens, you need to manually run the migration until the fix is merged into Lemmy. Here's how I did it:
sudo su - postgres
psql -v ON_ERROR_STOP=1 lemmy postgres
SET ROLE lemmy;
After that's done, you can exit the postgres CLI by typing
\q
, exit the postgres user and just simplysudo systemctl restart lemmy
which should start properly now, and be accessible to the outside network.Open it and it will give you the initial setup screen. Good luck!