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:
@@ -1,4 +1,5 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
services.tor.enable = true;
|
services.tor.enable = true;
|
||||||
environment.systemPackages = [pkgs.tor];
|
services.tor.client.enable = true;
|
||||||
|
environment.systemPackages = [pkgs.tor pkgs.torsocks];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@
|
|||||||
}
|
}
|
||||||
systems/ful/configuration.nix
|
systems/ful/configuration.nix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
inputs.self.nixosModules.passport
|
||||||
retiolum.nixosModules.retiolum
|
retiolum.nixosModules.retiolum
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ in {
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./matomo.nix
|
./matomo.nix
|
||||||
|
./radio.nix
|
||||||
../../configs/monitoring.nix
|
../../configs/monitoring.nix
|
||||||
../../configs/save-space.nix
|
../../configs/save-space.nix
|
||||||
../../configs/spacetime.nix
|
../../configs/spacetime.nix
|
||||||
@@ -17,6 +18,20 @@ in {
|
|||||||
../../configs/nix.nix
|
../../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 = {
|
age.secrets = {
|
||||||
retiolum-rsa = {
|
retiolum-rsa = {
|
||||||
file = ../../secrets/ful-retiolum-privateKey-rsa.age;
|
file = ../../secrets/ful-retiolum-privateKey-rsa.age;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
lyrikline=https://www.lyrikline.org
|
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"
|
poem_url="$lyrikline$random_route"
|
||||||
|
|
||||||
${pkgs.curl}/bin/curl -sSL "$poem_url" > "$html"
|
${pkgs.curl}/bin/curl -sSL "$poem_url" > "$html"
|
||||||
@@ -16,7 +16,6 @@ in {
|
|||||||
./names.nix
|
./names.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./radio-news.nix
|
./radio-news.nix
|
||||||
./radio.nix
|
|
||||||
./retiolum-map.nix
|
./retiolum-map.nix
|
||||||
./tarot.nix
|
./tarot.nix
|
||||||
./tt-rss.nix
|
./tt-rss.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user