Compare commits
2 Commits
92e7c35b6e
...
b657dc62f6
Author | SHA1 | Date |
---|---|---|
Ryan Rix | b657dc62f6 | |
Ryan Rix | fd12e1a336 |
34
akkoma.org
34
akkoma.org
|
@ -35,9 +35,17 @@ It's not super complicated but we'll break it up in to multiple imports so that
|
|||
#+ARROYO_NIXOS_MODULE: nixos/akkoma.nix
|
||||
#+AUTO_TANGLE: t
|
||||
|
||||
Right now my Pleroma includes an un-released patch to [[https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3661][enable TLSv1.3 support]] so that I can follow users on https://defcon.social:
|
||||
|
||||
#+begin_src nix :tangle ~/arroyo-nix/nixos/akkoma.nix :noweb yes
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
# remove in 2.4.6
|
||||
myPleroma = pkgs.pleroma.overrideAttrs (old: old // {
|
||||
patches = (old.patches or []) ++ [ <arroyo/files/pleroma-tls13.patch> ];
|
||||
});
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./akkoma-users.nix
|
||||
|
@ -61,6 +69,7 @@ It's not super complicated but we'll break it up in to multiple imports so that
|
|||
systemd.services.pleroma.path = with pkgs; [exiftool ffmpeg imagemagick];
|
||||
services.pleroma = {
|
||||
enable = true;
|
||||
package = myPleroma;
|
||||
|
||||
# don't feel like needing to chown later on...
|
||||
group = "akkoma";
|
||||
|
@ -170,19 +179,25 @@ I could just splat this on to the filesystem but no harm in having it in the Nix
|
|||
</p>
|
||||
|
||||
<p>
|
||||
If you care about the privacy policy if this instance, don't
|
||||
If you care about the privacy policy of this instance, don't
|
||||
federate with it. rrix is a consummate privacy professional, but
|
||||
they're also just one person. I have no intention to do anything
|
||||
untoward with posts federated to my instance, nor engage in
|
||||
non-standard behavior on the fediverse. At the same time, I'm likely
|
||||
not going to be able to go up against government requests for data
|
||||
stored on this instace. As of [2022-12-04] this instance has not
|
||||
been compelled to give data to any government or law enforcement
|
||||
agency and has not done so voluntarily. I'm just one homie hanging
|
||||
out making posts with my friends and trying to make new ones, and
|
||||
you're here reading this. What's up?
|
||||
non-standard behavior on the fediverse, the NixOS code which deploys
|
||||
all the software on this server
|
||||
is <a href="https://cce.whatthefuck.computer/akkoma">available
|
||||
online</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
At the same time, I'm likely not going to be able to go
|
||||
up against government requests for data stored on this instace. As
|
||||
of [2022-12-04] this instance has not been compelled to give data to
|
||||
any government or law enforcement agency and has not done so
|
||||
voluntarily. I'm just one homie hanging out making posts with my
|
||||
friends and trying to make new ones, and you're here reading
|
||||
this. What's up?
|
||||
</p>
|
||||
#+end_src
|
||||
|
||||
#+begin_src nix :tangle ~/arroyo-nix/nixos/akkoma-statics.nix :noweb yes
|
||||
|
@ -198,9 +213,10 @@ I could just splat this on to the filesystem but no harm in having it in the Nix
|
|||
};
|
||||
in {
|
||||
install-pleroma-tos.text = ''
|
||||
echo "Installing Pleroma Terms of Service to static directory"
|
||||
export DEST_DIR=/srv/akkoma/static/
|
||||
mkdir -p $DEST_DIR
|
||||
ln -sf ${tos} $DEST_DIR/terms-of-service.html
|
||||
ln -sf ${tos} $DEST_DIR/static/terms-of-service.html
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue