summaryrefslogtreecommitdiffstats
path: root/Home.md
blob: 9a9981954d11017ddb21f22b33e6f4482dcb5383 (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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
This is the wiki for retiolum.

# Services

- [radiostreams](http://wiki.r/streams)
- [[Retiolum]]
- [search.r](http://search.r)
- [stable-diffusion](http://stable-confusion.r):
  - Webdav for all images at: dav://stable-confusion.r/output, mountable with `gio mount dav://stable-confusion.r/output/` (requires `services.gvfs.enable = true;`)
  - [Gallery](http://stable-confusion.r/output/latest-gallery.html)
  - [Directory listing](http://stable-confusion.r/output/)
- [wallpaper](http://prism.r/realwallpaper-krebs.png)
- [wallpaper-timelapse](http://prism.r/realwallpaper-video.mp4)
- [wallpaper no entities](http://prism.r/realwallpaper.png)
- [wiki](http://wiki.r)
  - content mirrors:
    - <http://cgit.hotdog.r/wiki>
    - <http://cgit.ni.r/wiki>
    - <https://code.kmein.de/kfm/wiki> (ask kmein for permissions)
- [tts.r - text-to-speech, 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)
- [upterm](https://upterm.thalheim.io/)
- [jitsi](https://jitsi.lassul.us/)
- [hedgedog](https://pad.lassul.us)
- [mumble](https://mumble.lassul.us/) also `nix-shell -p mumble --run "mumble mumble://$USER@lassul.us/nixos"`

## 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-write 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
  - to use modern IRCv3 bouncer features do:
    1. register with NickServ (`/msg NickServ help register`)
    2. authenticate using SASL (`/msg NickServ help identify`)
    3. set up SASL in IRC client (`/fset sasl`)
    4. set up `ALWAYS-ON` and `AUTOREPLAY-LINES` (`/msg NickServ help set`)

- [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
  
- [thelounge](https://irc.0cx.de/)
  - IRC Client, kann auch irc.r erreichen. Accounts bei @pinpox

## 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)
- [Musik player: navidrome](http://navidrome.r), in retiolum without an account, ask @Mic92 if you want a clearnet account
- [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"
    ];
  };
 }
```

- Mukke (3.1T on 2022-102-22) on [https://sicily.r](https://sicily.r) (courtesy of xkey)

## Miscellaneous

- [Diary](/gollum/overview/diary/) - contribute to the diary!
- [food lessons learned](./Lessons-learned-in-cooking)

# Support Krebs
There are some ways to support krebs:

- [Krebsgold](./krebsgold)