1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(radio): move to ful to evade block, remove tor

This commit is contained in:
2023-03-20 13:14:02 +01:00
parent 7e86718b0f
commit 5e8b1f37c6
5 changed files with 19 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
{pkgs, ...}: {
services.tor.enable = true;
environment.systemPackages = [pkgs.tor];
services.tor.client.enable = true;
environment.systemPackages = [pkgs.tor pkgs.torsocks];
}

View File

@@ -74,6 +74,7 @@
}
systems/ful/configuration.nix
agenix.nixosModules.default
inputs.self.nixosModules.passport
retiolum.nixosModules.retiolum
];
};

View File

@@ -9,6 +9,7 @@ in {
imports = [
./hardware-configuration.nix
./matomo.nix
./radio.nix
../../configs/monitoring.nix
../../configs/save-space.nix
../../configs/spacetime.nix
@@ -17,6 +18,20 @@ in {
../../configs/nix.nix
];
niveum.passport = {
enable = true;
introductionHTML = ''
'';
virtualHost = "ful.r";
services = [
{
title = "restic backup";
description = "This machine backups its state via restic backup.";
}
];
};
age.secrets = {
retiolum-rsa = {
file = ../../secrets/ful-retiolum-privateKey-rsa.age;

View File

@@ -17,7 +17,7 @@
}
lyrikline=https://www.lyrikline.org
random_route="$(${pkgs.tor}/bin/torify ${pkgs.curl}/bin/curl -sSL "$lyrikline/index.php/tools/getrandompoem" --data-raw 'lang=de' --compressed | ${pkgs.jq}/bin/jq -r .link)"
random_route="$(${pkgs.curl}/bin/curl -sSL "$lyrikline/index.php/tools/getrandompoem" --data-raw 'lang=de' --compressed | ${pkgs.jq}/bin/jq -r .link)"
poem_url="$lyrikline$random_route"
${pkgs.curl}/bin/curl -sSL "$poem_url" > "$html"

View File

@@ -16,7 +16,6 @@ in {
./names.nix
./nextcloud.nix
./radio-news.nix
./radio.nix
./retiolum-map.nix
./tarot.nix
./tt-rss.nix