From 22eb07ca54b3cedad74d3ca34b2fd8a90d987766 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Sun, 24 Apr 2022 14:53:13 +1000 Subject: [PATCH] good to go --- profiles/dns/defalut.nix | 2 +- profiles/nextcloud/default.nix | 4 ++++ profiles/rss-bridge/default.nix | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/profiles/dns/defalut.nix b/profiles/dns/defalut.nix index 299880c0..73ea4a17 100644 --- a/profiles/dns/defalut.nix +++ b/profiles/dns/defalut.nix @@ -10,7 +10,7 @@ addn-hosts=/ec/adblock.hosts ''; 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.allowedUDPPorts = [ 53 ]; } diff --git a/profiles/nextcloud/default.nix b/profiles/nextcloud/default.nix index f378579f..35ff23dd 100644 --- a/profiles/nextcloud/default.nix +++ b/profiles/nextcloud/default.nix @@ -1,5 +1,9 @@ { 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 = { enable = true; hostName = "mossnet.lan"; diff --git a/profiles/rss-bridge/default.nix b/profiles/rss-bridge/default.nix index 796dfd02..6157d8ae 100644 --- a/profiles/rss-bridge/default.nix +++ b/profiles/rss-bridge/default.nix @@ -2,7 +2,13 @@ { services.rss-bridge = { enable = true; - virtualHost = "rss.moss"; + virtualHost = "rss.mossnet.lan"; 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% + #''; }