mirror of
https://github.com/kmein/niveum
synced 2026-03-31 01:31:13 +02:00
Compare commits
2 Commits
1bbf54fcd8
...
b62bde780d
| Author | SHA1 | Date | |
|---|---|---|---|
| b62bde780d | |||
| 4584d92d05 |
6
flake.lock
generated
6
flake.lock
generated
@@ -424,11 +424,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1677160040,
|
||||
"narHash": "sha256-UhyZaIZ88vN/7fiBcamfV77eHjQnL8zSVznaqxLgbhs=",
|
||||
"lastModified": 1687504941,
|
||||
"narHash": "sha256-wnCRcQn8izEHE8MfBpPkLezxAMIg7SVTq8CZsgkar54=",
|
||||
"owner": "kmein",
|
||||
"repo": "tinc-graph",
|
||||
"rev": "f705ca35e30ab0daf9cf52000e58931d7c5c42b5",
|
||||
"rev": "91a3a85beaaec4ec43ea5a41322c3a5a6e04edc4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -7,17 +7,13 @@
|
||||
startAt = "7:00";
|
||||
script = ''
|
||||
greeting=$(echo "moin
|
||||
oi
|
||||
noim
|
||||
MOIN
|
||||
OI
|
||||
moi" | shuf -n1)
|
||||
MOIN" | shuf -n1)
|
||||
echo "$greeting" | ${config.nur.repos.mic92.ircsink}/bin/ircsink \
|
||||
--nick "$greeting""bot" \
|
||||
--server irc.hackint.org \
|
||||
--port 6697 \
|
||||
--secure \
|
||||
--target '#hsmr-moin' >/dev/null 2>&1
|
||||
--target '#hsmr' >/dev/null 2>&1
|
||||
'';
|
||||
serviceConfig.DynamicUser = true;
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@ in {
|
||||
script = ''
|
||||
${tinc-graph}/bin/tinc-graph --geoip-file ${geo-ip-database-path} --network ${network} \
|
||||
| ${pkgs.coreutils}/bin/tee network.json \
|
||||
| ${tinc-graph}/bin/tinc-statistics > statistics.json
|
||||
| ${tinc-graph}/bin/tinc-midpoint > midpoint.json
|
||||
|
||||
cp ${tinc-graph}/static/map.html map.html
|
||||
cp ${tinc-graph}/static/map.html index.html
|
||||
|
||||
Reference in New Issue
Block a user