summaryrefslogtreecommitdiffstats
path: root/Home.md
blob: eabf4b8d1c5e86d17aaa6eeed8b43b1dfbbc54d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
This is the wiki for retiolum. A private VPN of the krebs foundation. And for [food lessons learned](./Lessons-learned-in-cooking). And for direct links towards [radiostreams](http://wiki.r/streams).

# Support Krebs
There are some ways to support krebs:

- [Krebsgold](./krebsgold)

# Services

- [[Retiolum]]
- [search.r](http://search.r)
- [wallpaper](http://prism.r/realwallpaper-krebs.png)
- [wallpaper-timelapse](http://prism.r/realwallpaper-video.mp4)
- [wallpaper no entities](http://prism.r/realwallpaper.png)
- [tts.r - text-to-speach, usable as API](http://tts.r)
```bash
# example usage for your bashrc/zshrc
say() {
  _say() { curl -sSG http://tts.r/api/tts --data-urlencode text@- | mpv --no-resume-playback -; } 
  if [[ "$#" -eq 0 ]]; then
    _say
  else
    echo "$@" | _say
  fi
}
```
- [ACME](./ACME)

## Stockholm repositories
- [gum](http://cgit.gum.r/stockholm)
- [mic92](https://git.thalheim.io/Mic92/stockholm/)
- [ni](http://cgit.ni.r/stockholm)
- [prism](http://cgit.prism.r/stockholm)

## Git services

- [cgit.gum.r](http://cgit.gum.r)
- [cgit.ni.r](http://cgit.ni.r)
- [cgit.prism.r](http://cgit.prism.r)

## CI

- [build.hotdog](http://build.hotdog.r/): buildbot

## Paste services

- [p.r](http://p.r)
  - read-write access via [http://p.r](http://p.r)
  - read-only access via [https://p.krebsco.de](https://p.krebsco.de)
  - client
    [implemented](http://cgit.ni.r/stockholm/tree/krebs/5pkgs/simple/kpaste/default.nix)
    using curl;
    usage: `kpaste FILE` or `kpaste < FILE`
  - server
    [config](http://cgit.ni.r/stockholm/tree/lass/2configs/paste.nix) and
    [module](http://cgit.ni.r/stockholm/tree/krebs/3modules/htgen.nix);
    [implemented](http://cgit.ni.r/htgen/tree/examples/paste) is using
    [htgen](http://cgit.ni.r/htgen/tree/htgen)
  - *bonus level:* use it instead of imgur with
    [patched](http://cgit.ni.r/stockholm/tree/krebs/5pkgs/override/default.nix)
    [flameshot](https://flameshot.org/)
    by setting the environment variables `IMGUR_CREATE_URL` and `IMGUR_DELETE_URL`
    like e.g. [makefu](http://cgit.ni.r/stockholm/tree/makefu/2configs/home-manager/desktop.nix)
    or [flameshot-once](http://cgit.ni.r/stockholm/tree/krebs/5pkgs/simple/flameshot-once/profile.nix)
    do it

- [c.r](http://c.r)
  - read-write arbitrary urls with `cat $file | curl --data-binary @- http://c.r/my/custom/path`
  - delete with `curl -X DELETE http://c.r/my/custom/path`
  - if posted again will override old content
  - stuff will be reachable at http://c.r/my/custom/path or https://c.krebsco.de/my/custom/path

## Monitoring

- [prometheus.r](http://prometheus.r) and [alertmanager.r](http://alertmanager.r):
  - logs alerts to `#xxx` on irc.r 
  - [alert rules](https://github.com/Mic92/dotfiles/blob/master/nixos/eva/modules/prometheus/alert-rules.nix)
  - [prometheus config](https://github.com/Mic92/dotfiles/blob/master/nixos/eva/modules/prometheus/default.nix#L42)
  - [telegraf configuration](https://github.com/Mic92/dotfiles/blob/master/nixos/eva/modules/telegraf.nix)

## IRC
- [irc.r](irc://irc.r)
  - `#flix`: Channel for torrent chat (will be also displayed here: [http://yellow.r/](http://yellow.r/))
  - `#xxx`: Channel for CI log messages

- [news.r](irc://news.r) – [bot config](http://news.r), [d3 graph of bots and channels](http://news.r/graph.html)
  - `#all`: Bots spamming news feeds
  - `#aluhut`: Bots spamming conspiracy and corona news feeds
  - `#drachengame`: Bots spamming Drachenlord news feeds

## Agenda
- [agenda.r](http://agenda.r) keeps track of what people want to do. Entries are linked to the wiki for supplying more information about a specific task
- Agenda items can be added and removed via `agenda-add DESCRIPTION` and `agenda-done ID` in `#xxx`.

## Filesharing

- [GeoIP Database](http://c.krebsco.de/GeoLite2-City.mmdb) (updated weekly by kmein)
- [Syncthing](./syncthing)
- [jellyfin (yellow.r)](http://jelly.r) ask for an account
- [Transmission (yellow.r)](http://yellow.r:9091/transmission/web/)
  - [Directory listing](http://flix.r/)
  - NFS export:

```nix
{
  fileSystems."/mnt/prism" = {
    device = "prism.r:/export/download";
    fsType = "nfs";
    options = [
      "timeo=14"
      "noauto"
      "noatime"
      "nodiratime"
      "noac"
      "nocto"
      "ro"
      "x-systemd.automount"
      "x-systemd.device-timeout=1"
      "x-systemd.idle-timeout=1min"
    ];
  };
}
```

or smb export (likely faster over high-latency connections)

```nix
{
  fileSystems."/mnt/prism" = {
    device = "//prism.r/public";
    fsType = "cifs";
    options = [
      "guest"
      "nofail"
      "noauto"
      "ro"
      "x-systemd.automount"
      "x-systemd.device-timeout=1"
      "x-systemd.idle-timeout=1min"
    ];
  };
 }
```

****- Homage to [http://catalonia.r](http://catalonia.r)