nix-config/hosts/containers/ticker/default.nix

127 lines
4.1 KiB
Nix
Raw Normal View History

2020-12-02 21:32:22 +01:00
{ config, lib, pkgs, ... }:
with lib;
2021-04-16 00:58:19 +02:00
{ boot.isContainer = true;
2021-09-08 01:22:40 +02:00
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" ];
2020-12-02 21:32:22 +01:00
networking.hostName = mkDefault "ticker";
networking.useDHCP = false;
2021-09-08 01:22:40 +02:00
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
2020-12-02 21:32:22 +01:00
nix.useSandbox = false;
environment.systemPackages = with pkgs; [ vim git ];
time.timeZone = "Europe/Berlin";
2021-09-08 01:22:40 +02:00
services.openssh.enable = true;
2021-09-09 22:00:08 +02:00
c3d2.hq.statistics.enable = true;
services.nginx.enable = true;
services.nginx.virtualHosts."ticker.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:8400";
};
2020-12-02 21:32:22 +01:00
services.ticker.updateInterval = "hourly";
services.ticker.config.calendars = {
c3d2 = {
url = "https://c3d2.de/ical.ics";
2021-04-16 00:58:19 +02:00
color = "#BFA73F";
2020-12-02 21:32:22 +01:00
};
dresden-science = {
url = "https://www.dresden-science-calendar.de/calendar/de/iCalSync.ics";
color = "#00007F";
};
gruenes-brett = {
url = "https://gruenesbrett.net/events.ics";
color = "#00BF00";
};
stura-htw = {
url = "http://www.stura.htw-dresden.de/events/aggregator/ics_view";
2021-04-16 00:58:19 +02:00
color = "#BF3FA7";
2020-12-02 21:32:22 +01:00
};
malobeo = {
url = "https://malobeo.org/events/list/?ical=1&tribe_display=all";
color = "#FF3F3F";
};
hicknhack = {
2021-04-16 00:58:19 +02:00
url = "https://www.google.com/calendar/ical/grhnk1uaotql6gv2dkf9ldmqjc%40group.calendar.google.com/public/basic.ics";
2020-12-02 21:32:22 +01:00
color = "#A700A7";
};
palaissommer = {
url = "https://palaissommer.de/programm/?event=all";
color = "#7F003F";
2020-12-02 21:32:22 +01:00
};
kreta = {
url = "https://www.kreta-dresden.org/kreta.ics";
color = "#BF3F7F";
};
zentralwerk = {
url = "https://ics.teamup.com/feed/ksayh65fgotv2prcas/0.ics";
color = "#FF3F3F";
};
and = {
url = "https://and.notraces.net/events/?ical=1";
color = "#FF7F00";
};
rosenwerk-home = {
2021-04-16 00:58:19 +02:00
url = "https://www.google.com/calendar/ical/bj85d742g31mgkblbaiusmk3s8%40group.calendar.google.com/public/basic.ics";
color = "#DF003F";
2020-12-02 21:32:22 +01:00
};
rosenwerk-extern = {
2021-04-16 00:58:19 +02:00
url = "https://www.google.com/calendar/ical/ogo94kraeq5ckmu3jsr0uus2mo%40group.calendar.google.com/private-8d048bfa99cca84705ffa675aacfe22a/basic.ics";
2020-12-02 21:32:22 +01:00
color = "#BF002F";
};
rosenwerk-kultur = {
2021-04-16 00:58:19 +02:00
url = "https://www.google.com/calendar/ical/93enn926ddhgr79hnqp83ipj3g%40group.calendar.google.com/public/basic.ics";
2020-12-02 21:32:22 +01:00
color = "#BF001F";
};
haengemathe = {
url = "https://club-haengemathe.de/termine.ics";
color = "#FF7F3F";
};
bitsundbaeumedresden = {
url = "https://dresden.bits-und-baeume.org/termine.ics";
color = "#3FBF3F";
};
2020-12-30 23:37:32 +01:00
exma-stuta = {
url = "https://www.exmatrikulationsamt.de/ics/v1/stuta.ics";
color = "#7F7FFF";
};
exma-nawa = {
url = "https://www.exmatrikulationsamt.de/ics/v1/nawa.ics";
color = "#3F3FBF";
};
2021-04-16 00:58:19 +02:00
ratsinfo = {
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";
};
2021-09-08 22:48:37 +02:00
dhmd = {
url = "https://scrape.hq.c3d2.de/dhmd-veranstaltungen.ics";
color = "#E00728";
};
2021-09-18 00:45:47 +02:00
ds21 = {
url = "https://talks.datenspuren.de/ds21/schedule.ics";
color = "#40A940";
};
2020-12-02 21:32:22 +01:00
};
}