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
|
#+ARROYO_NIXOS_MODULE: nixos/akkoma.nix
|
||||||
#+AUTO_TANGLE: t
|
#+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
|
#+begin_src nix :tangle ~/arroyo-nix/nixos/akkoma.nix :noweb yes
|
||||||
{ config, pkgs, ... }:
|
{ 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 = [
|
imports = [
|
||||||
./akkoma-users.nix
|
./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];
|
systemd.services.pleroma.path = with pkgs; [exiftool ffmpeg imagemagick];
|
||||||
services.pleroma = {
|
services.pleroma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = myPleroma;
|
||||||
|
|
||||||
# don't feel like needing to chown later on...
|
# don't feel like needing to chown later on...
|
||||||
group = "akkoma";
|
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>
|
||||||
|
|
||||||
<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
|
federate with it. rrix is a consummate privacy professional, but
|
||||||
they're also just one person. I have no intention to do anything
|
they're also just one person. I have no intention to do anything
|
||||||
untoward with posts federated to my instance, nor engage in
|
untoward with posts federated to my instance, nor engage in
|
||||||
non-standard behavior on the fediverse. At the same time, I'm likely
|
non-standard behavior on the fediverse, the NixOS code which deploys
|
||||||
not going to be able to go up against government requests for data
|
all the software on this server
|
||||||
stored on this instace. As of [2022-12-04] this instance has not
|
is <a href="https://cce.whatthefuck.computer/akkoma">available
|
||||||
been compelled to give data to any government or law enforcement
|
online</a>.
|
||||||
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>
|
</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
|
#+end_src
|
||||||
|
|
||||||
#+begin_src nix :tangle ~/arroyo-nix/nixos/akkoma-statics.nix :noweb yes
|
#+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 {
|
in {
|
||||||
install-pleroma-tos.text = ''
|
install-pleroma-tos.text = ''
|
||||||
|
echo "Installing Pleroma Terms of Service to static directory"
|
||||||
export DEST_DIR=/srv/akkoma/static/
|
export DEST_DIR=/srv/akkoma/static/
|
||||||
mkdir -p $DEST_DIR
|
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