servo: lift pleroma user def out of toplevel -> pleroma.nix

This commit is contained in:
colin 2023-01-20 22:15:26 +00:00
parent 55a1856e87
commit 2f75925678
2 changed files with 6 additions and 6 deletions

View File

@ -111,7 +111,7 @@
'' ''
]; ];
systemd.services.pleroma.path = [ systemd.services.pleroma.path = [
# something inside pleroma invokes `sh` w/o specifying it by path, so this is needed to allow pleroma to start # something inside pleroma invokes `sh` w/o specifying it by path, so this is needed to allow pleroma to start
pkgs.bash pkgs.bash
# used by Pleroma to strip geo tags from uploads # used by Pleroma to strip geo tags from uploads
@ -135,6 +135,11 @@
# CapabilityBoundingSet = lib.mkForce "~"; # CapabilityBoundingSet = lib.mkForce "~";
# }; # };
# this is required to allow pleroma to send email.
# raw `sendmail` works, but i think pleroma's passing it some funny flags or something, idk.
# hack to fix that.
users.users.pleroma.extraGroups = [ "postdrop" ];
# Pleroma server and web interface # Pleroma server and web interface
# TODO: enable publog? # TODO: enable publog?
services.nginx.virtualHosts."fed.uninsane.org" = { services.nginx.virtualHosts."fed.uninsane.org" = {

View File

@ -5,9 +5,4 @@
# automatically log in at the virtual consoles. # automatically log in at the virtual consoles.
# using root here makes sure we always have an escape hatch # using root here makes sure we always have an escape hatch
services.getty.autologinUser = "root"; services.getty.autologinUser = "root";
# this is required to allow pleroma to send email.
# raw `sendmail` works, but i think pleroma's passing it some funny flags or something, idk.
# hack to fix that.
users.users.pleroma.extraGroups = [ "postdrop" ];
} }