good to go

This commit is contained in:
Anish Lakhwara 2022-04-24 14:53:13 +10:00
parent 2758bf1cb8
commit 22eb07ca54
3 changed files with 12 additions and 2 deletions

View file

@ -10,7 +10,7 @@
addn-hosts=/ec/adblock.hosts addn-hosts=/ec/adblock.hosts
''; '';
services.dnsmasq.servers = [ "45.90.30.49" "45.90.28.49" "1.1.1.1" "8.8.8.8" ]; services.dnsmasq.servers = [ "45.90.30.49" "45.90.28.49" "1.1.1.1" "8.8.8.8" ];
networking.hosts = { "172.16.11.240" = [ "mossnet.lan" "links.mossnet.lan" "read.mossnet.lan" "stats.mossnet.lan" "music.moss" "tasks.moss" "headphones.moss" "cloud.moss" "links.moss" "read.moss" "stats.moss" "rss.moss" ]; }; networking.hosts = { "172.16.11.240" = [ "mossnet.lan" "links.mossnet.lan" "read.mossnet.lan" "stats.mossnet.lan" "music.mossnet.lan" "rss.mossnet.lan" "tasks.mossnet.lan" ]; };
networking.firewall.allowedTCPPorts = [ 53 ]; networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ]; networking.firewall.allowedUDPPorts = [ 53 ];
} }

View file

@ -1,5 +1,9 @@
{ pkgs, config, ... }: { pkgs, config, ... }:
{ {
#age.secrets.nextcloud-db.file = "/etc/nixos/secrets/nextcloud-db.age";
#age.secrets.nextcloud-db.owner = "nextcloud";
#age.secrets.nextcloud-admin.file = "/etc/nixos/secrets/nextcloud-admin.age";
#age.secrets.nextcloud-admin.owner = "nextcloud";
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
hostName = "mossnet.lan"; hostName = "mossnet.lan";

View file

@ -2,7 +2,13 @@
{ {
services.rss-bridge = { services.rss-bridge = {
enable = true; enable = true;
virtualHost = "rss.moss"; virtualHost = "rss.mossnet.lan";
whitelist = [ "Facebook" "Bandcamp" "Twitter" "Telegram"]; whitelist = [ "Facebook" "Bandcamp" "Twitter" "Telegram"];
#dataDir = "/etc/rss-bridge/";
}; };
#environment.etc."rss-bridge/config.ini.php" = ''
# [InstagramBridge]
# session_id = %sessionid from step 1%
# cache_timeout = %cache timeout in seconds%
#'';
} }