alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
remove deprecated reaktor-coders
author
lassulus
date
2 years ago
(Oct 11, 2024, 1:52 PM CEST)
commit
be420981
be420981d9f9f85e5f6ea7d7dfed688469d9cd26
parent
9ea5e648
9ea5e648505174781b9117d9e2f30e5ad2055a9e
-57
2 changed files
Expand all
Collapse all
Unified
Split
2configs
reaktor-coders.nix
machines
prism
config.nix
-56
2configs/reaktor-coders.nix
Reviewed
···
1
1
-
{ config, pkgs, ... }:
2
2
-
3
3
-
let
4
4
-
hooks = pkgs.reaktor2-plugins.hooks;
5
5
-
in
6
6
-
{
7
7
-
krebs.reaktor2.coders = {
8
8
-
hostname = "irc.hackint.org";
9
9
-
port = "9999";
10
10
-
useTLS = true;
11
11
-
nick = "reaktor2|lass";
12
12
-
plugins = [
13
13
-
{
14
14
-
plugin = "register";
15
15
-
config = {
16
16
-
channels = [
17
17
-
"#coders"
18
18
-
"#germany"
19
19
-
"#panthermoderns"
20
20
-
];
21
21
-
};
22
22
-
}
23
23
-
{
24
24
-
plugin = "system";
25
25
-
config = {
26
26
-
workdir = config.krebs.reaktor2.coders.stateDir;
27
27
-
hooks.PRIVMSG = [
28
28
-
hooks.sed
29
29
-
hooks.url-title
30
30
-
{
31
31
-
activate = "match";
32
32
-
pattern = ''^!([^ ]+)(?:\s*(.*))?'';
33
33
-
command = 1;
34
34
-
arguments = [ 2 ];
35
35
-
commands = {
36
36
-
ping.filename = pkgs.writeDash "ping" ''
37
37
-
exec /run/wrappers/bin/ping -q -c1 "$1" 2>&1 | tail -1
38
38
-
'';
39
39
-
google.filename = pkgs.writeDash "google" ''
40
40
-
exec ${pkgs.ddgr}/bin/ddgr -C -n1 --json "$@" | \
41
41
-
${pkgs.jq}/bin/jq '@text "\(.[0].abstract) \(.[0].url)"'
42
42
-
'';
43
43
-
shrug.filename = pkgs.writeDash "shrug" ''
44
44
-
exec echo '¯\_(ツ)_/¯'
45
45
-
'';
46
46
-
table.filename = pkgs.writeDash "table" ''
47
47
-
exec echo '(╯°□°)╯ ┻━┻'
48
48
-
'';
49
49
-
};
50
50
-
}
51
51
-
];
52
52
-
};
53
53
-
}
54
54
-
];
55
55
-
};
56
56
-
}
-1
machines/prism/config.nix
View file
Reviewed
···
123
123
../../2configs/iodined.nix
124
124
../../2configs/paste.nix
125
125
../../2configs/syncthing.nix
126
126
-
../../2configs/reaktor-coders.nix
127
126
../../2configs/container-networking.nix
128
127
../../2configs/bgt-bot
129
128
(self.inputs.stockholm + "/krebs/2configs/mastodon-proxy.nix")