ticker: save config after migration from inbert to cluster01
This commit is contained in:
parent
9648360a48
commit
9a16c2148b
|
@ -9,12 +9,30 @@ let
|
|||
in
|
||||
{ boot.isContainer = true;
|
||||
#boot.loader.initScript.enable = true;
|
||||
networking.interfaces.eth0.ipv4.addresses = [{ address = "172.20.73.52"; prefixLength = 26; }];
|
||||
networking.interfaces.eth0.useDHCP = false;
|
||||
networking.defaultGateway = "172.20.73.1";
|
||||
networking.nameservers = [ "172.20.73.8" "9.9.9.9" ];
|
||||
networking.hostName = mkDefault "ticker";
|
||||
networking.useDHCP = false;
|
||||
networking.firewall.allowedTCPPorts = [ 8400 ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
nix.useSandbox = false;
|
||||
environment.systemPackages = with pkgs; [ vim git ];
|
||||
imports = [ "${tickerSrc}/nixos-module.nix" ];
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts."ticker.c3d2.de" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://localhost:8400";
|
||||
};
|
||||
security.acme = {
|
||||
email = "admin@c3d2.de";
|
||||
acceptTerms = true;
|
||||
};
|
||||
|
||||
|
||||
services.ticker.updateInterval = "hourly";
|
||||
services.ticker.config.calendars = {
|
||||
c3d2 = {
|
||||
|
@ -43,7 +61,7 @@ in
|
|||
};
|
||||
palaissommer = {
|
||||
url = "https://palaissommer.de/programm/?event=all";
|
||||
color = "#BF003F";
|
||||
color = "#7F003F";
|
||||
};
|
||||
kreta = {
|
||||
url = "https://www.kreta-dresden.org/kreta.ics";
|
||||
|
@ -59,7 +77,7 @@ in
|
|||
};
|
||||
rosenwerk-home = {
|
||||
url = "https://www.google.com/calendar/ical/bj85d742g31mgkblbaiusmk3s8%40group.calendar.google.com/public/basic.ics";
|
||||
color = "#BF003F";
|
||||
color = "#DF003F";
|
||||
};
|
||||
rosenwerk-extern = {
|
||||
url = "https://www.google.com/calendar/ical/ogo94kraeq5ckmu3jsr0uus2mo%40group.calendar.google.com/private-8d048bfa99cca84705ffa675aacfe22a/basic.ics";
|
||||
|
@ -89,5 +107,21 @@ in
|
|||
url = "https://github.com/offenesdresden/dresden-ratsinfo/raw/master/meetings.ics";
|
||||
color = "#BFBF3F";
|
||||
};
|
||||
filmnaechte = {
|
||||
url = "https://dresden.filmnaechte.de/veranstaltung?tx_events_frontend%5Baction%5D=ical&tx_events_frontend%5Bcontroller%5D=Event&tx_events_frontend%5Bevent%5D=26&cHash=d38f8b752d27504bb578a1d8a361721a";
|
||||
color = "#16182c";
|
||||
};
|
||||
riesa-efau = {
|
||||
url = "https://scrape.hq.c3d2.de/riesa-efau-kalender.ics";
|
||||
color = "#7FBF7F";
|
||||
};
|
||||
gartennetzwerk = {
|
||||
url = "https://www.dresden-pflanzbar.de/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&no_html=true";
|
||||
color = "#3FAF00";
|
||||
};
|
||||
ffdd = {
|
||||
url = "https://mobilizon.envs.net/@ffdd/feed/ics";
|
||||
color = "#AFAF00";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue