Commit Graph

422 Commits

Author SHA1 Message Date
oxapentane - 14a5b13882
fixup postgres perms 2023-03-16 19:06:29 +01:00
oxapentane - 5d871b38ec
add-traffic-stop-box-10 2023-03-11 11:47:12 +01:00
Tassilo - 6e84722f63
fix nginx 2023-03-10 19:47:08 +01:00
Tassilo - f55bfdadb0
adding header to datacare 2023-03-10 19:40:18 +01:00
Tassilo - 638b72993d
updating flake lock 2023-03-10 19:22:39 +01:00
Tassilo - 8195d5e268
removing yeet from unit 2023-03-05 18:26:59 +01:00
Tassilo - b3191fd5c5
adding yeeting script 2023-03-05 18:24:00 +01:00
Tassilo - 8ae76d7fe8
migrations for the big move 2023-03-05 16:48:16 +01:00
oxapentane - 754659d655
fix postgres username 2023-03-05 15:41:42 +01:00
oxapentane - adf2ebd561
fixup postgres privileges 2023-03-05 15:37:06 +01:00
Tassilo - cdd21b6b27
renaming database 2023-03-05 14:12:50 +01:00
oxapentane - 629ce42a0a
TLMS.nix: yeet (#12) 2023-03-05 14:07:31 +01:00
Tassilo - 6fde39a6fb
changing name to kid 2023-02-24 23:33:07 +01:00
Tassilo - a07e1b7810
adding kindergarten 2023-02-24 14:25:30 +01:00
Tassilo - 10afa46bf2
adding state-api prometheus export 2023-01-20 23:50:23 +01:00
Tassilo - 2140b44cba
fixing option name 2023-01-20 20:02:45 +01:00
Tassilo - 90cd921a6a
adding prometheus collector 2023-01-20 19:58:08 +01:00
Tassilo - 7b1d62594d
adding options for data-accumulator 2023-01-13 23:42:56 +01:00
Tassilo - 13e369fb2f
new options for datacare 2023-01-12 23:19:07 +01:00
oxapentane - e40dc8488c
update legacy options 2022-12-31 16:28:38 +01:00
oxapentane - 76878887fe
REBRANDING. Shit is broken 2022-12-30 18:29:13 +01:00
Tassilo - 86cded905e
renamed clicky-bunty-server to datacare 2022-12-23 01:02:06 +01:00
Tassilo - 8f03c72596
adding some network config 2022-12-22 04:08:36 +01:00
Tassilo - 9f140e55e8
using general dump-dvb option set 2022-12-22 03:44:32 +01:00
Tassilo - 2fbf8619ee
adding secrets to watch-me-senpai 2022-12-22 03:39:40 +01:00
Tassilo - 10ee75e890
couldn't find self reference there 2022-12-22 03:33:18 +01:00
Tassilo - ea106010cd
adding dump-dvb base to watch-me-senpai 2022-12-22 03:29:53 +01:00
Tassilo - 723751a51d
fixing module export 2022-12-21 02:47:45 +01:00
Tassilo - ba31655776
fixed 2022-12-20 23:01:55 +01:00
Tassilo - 9d38a58128
make watch-me-senpai a nixosModule 2022-12-20 14:56:16 +01:00
Tassilo - 214475f181
wrongly spelled option 2022-12-19 12:21:45 +01:00
Tassilo - bba3f15042
fixing grafana 2022-12-19 12:19:14 +01:00
Tassilo - 2eb14dc3d9
increasing size of vm 2022-12-18 22:46:43 +01:00
Tassilo - 2899c71d2d
updating map 2022-12-09 23:16:10 +01:00
Tassilo - 006420f05f
fixing eval errors of watch-me-senpai 2022-12-07 23:30:37 +01:00
Tassilo - 04688487ba
setting funnel option for api 2022-12-05 23:08:50 +01:00
oxapentane - 42726ff826
add box 9 2022-11-28 22:02:17 +01:00
oxapentane - b1c4ad01d7
add draft of C3H traffic-stop-box-8 2022-11-28 19:24:54 +01:00
Tassilo - f244f8c114
fixed typo 2022-11-24 10:19:29 +01:00
Tassilo - d2e9b7f7c8
fixing dump script adding time intervalls back 2022-11-24 01:08:31 +01:00
Tassilo - cd623d05d8
fixing dump script 2022-11-24 01:05:19 +01:00
Tassilo - 7d62b53820
click should serve correct package 2022-11-21 11:48:49 +01:00
Tassilo - cdb2d8d0a6
adding prometheus export 2022-11-19 01:59:36 +01:00
Tassilo - 2b5d8d1b7d
fixed map 404 2022-11-18 21:49:29 +01:00
Tassilo - e2f0efcec2 Merge branch 'master' of github.com:dump-dvb/nix-config 2022-11-06 19:41:30 +01:00
Tassilo - 3c1344ad14
updating dump script 2022-11-06 19:41:21 +01:00
oxapentane - f28e87db69
add access-control-allow-origin to /stop/*.json 2022-10-18 22:18:27 +02:00
oxapentane - db3e88a2d3
try fixing stops.json serving 2022-10-16 18:44:09 +02:00
oxapentane - 9c114053eb
offset timer off staging reboot time 2022-10-16 18:25:55 +02:00
Tassilo - 8ee97bea2f
404 to index.html on map 2022-10-16 15:59:17 +02:00
Tassilo - 03962aa888
changing nginx config 2022-10-16 14:25:28 +02:00
oxapentane - 0a3ab44185
dump daily diffs instad of full db 2022-10-15 21:43:04 +02:00
oxapentane - b4c04716c9
dump region 2022-10-15 16:36:07 +02:00
oxapentane - 7470704ac5
wait for postgres migrations to complete 2022-10-15 14:55:36 +02:00
oxapentane - 85e6e3f52d
fix migration 2022-10-15 14:18:20 +02:00
Tassilo - fb9aa599f8
dump script order by time 2022-10-10 02:28:53 +02:00
Tassilo - c44ca2ee6e
redis 127.0.0.1 2022-10-08 22:30:25 +02:00
Tassilo - ef3c06036b
deploying redis and using new configuration methods 2022-10-08 22:06:46 +02:00
Tassilo - f64d52662a
enabled redis 2022-10-08 19:37:05 +02:00
Tassilo - 944a640b96
setting log level for trekkie 2022-10-08 11:50:13 +02:00
Tassilo - 32f66e6e1f
now setting salt path correctly 2022-10-08 01:40:06 +02:00
Tassilo - d79d067408
group for password salt 2022-10-08 01:27:27 +02:00
Tassilo - 42d8874f7e
adjusting permissions for postgres pw 2022-10-08 01:20:47 +02:00
Tassilo - b036b97134
setup nginx for trekkie 2022-10-08 01:08:08 +02:00
Tassilo - 3a59f9f88e
renaming tracy to trekkie 2022-10-08 00:47:23 +02:00
oxapentane - cc576baa3c
set listen port on endpoint only 2022-10-05 20:47:05 +02:00
oxapentane - d0b618213a
disable firewall on wireguard 2022-10-04 20:07:53 +02:00
oxapentane - fb243b74f6
fix firewall typo 2022-10-04 19:36:53 +02:00
oxapentane - 456eacd5d6
match by mac in microvms 2022-10-03 02:20:48 +02:00
oxapentane - 63b16d15ff
disable dhcp explicitly 2022-10-03 00:13:38 +02:00
oxapentane - e0b3336009
minor reformat 2022-10-02 22:40:29 +02:00
oxapentane - a81f54b8d4
deadnix 2022-10-02 22:23:08 +02:00
oxapentane - 2f381d950b
move to networkd 2022-10-02 22:23:01 +02:00
oxapentane - b4975a3263
cleanup legacy scripts and remove systems not related to deployment 2022-10-02 22:22:57 +02:00
oxapentane - 70c7c2067b
add screen 2022-10-02 22:22:53 +02:00
oxapentane - b021adad96
traffic-stop-box: move out custom config into ./hosts 2022-10-02 22:22:49 +02:00
oxapentane - 09fcf5658f
rename ddvbDeployment -> deployment-dvb 2022-10-02 22:22:44 +02:00
oxapentane - 6ff46285e8
merge ddvb modules into one 2022-10-02 22:22:40 +02:00
oxapentane - bb77fbaf4d
refactored and more restrictive firewall 2022-10-02 22:22:35 +02:00
oxapentane - 75c6e76944
use ${self} absolute paths instead of relative paths 2022-10-02 22:22:30 +02:00
oxapentane - a0aba161d5
base takes default 2022-10-02 22:22:25 +02:00
oxapentane - a3a5d0652c
Move deployment-related options to separate attrset
Since we factored out deployment-independent options to separate flake
the options that are left in this flake are still using the same
namespace. This change renames the option attrset local to this flake.
2022-10-02 22:22:20 +02:00
Tassilo - af66d67e29
formatting 2022-09-27 01:01:33 +02:00
github-actions[bot] b93356b0b2 Remove dead code 2022-09-25 23:50:13 +00:00
oxapentane - 30817f7954
remove broken CORS headers 2022-09-26 01:46:45 +02:00
Tassilo - a3e584ea5a
add cors allow all 2022-09-26 00:55:23 +02:00
Tassilo - dcb34d2449
muensterbox 2022-09-25 21:36:26 +02:00
Tassilo - 0aee359755
adding münsterbox 2022-09-22 17:12:56 +02:00
Tassilo - 236bbb1faa
using nix native tryFiles 2022-09-20 17:17:16 +02:00
Tassilo - 339eac295f
fixing try_files nginx 2022-09-20 17:03:37 +02:00
Tassilo - 74686a199d
add try_files 2022-09-20 16:59:08 +02:00
Tassilo - cfce7a629d
changing aliases 2022-09-20 16:54:12 +02:00
Tassilo - cee24c248c
changing aliases 2022-09-20 16:50:50 +02:00
Tassilo - 30e47b6254
add data 2022-09-20 16:01:59 +02:00
Tassilo - 51c2cb9a1a
nginx routes 2022-09-19 23:08:12 +02:00
Tassilo - a2e7414985
nginx redirects 2022-09-16 15:33:33 +02:00
Tassilo - b56b8e5c5d
add nginx redirects 2022-09-16 15:27:09 +02:00
Markus Schmidl 3404e4eb35 This reverts and fixes commit 6f7cde7c8a. 2022-09-15 22:36:54 +02:00
oxapentane - 6f7cde7c8a
remove broken header 2022-09-15 22:03:56 +02:00
oxapentane - 82d5d9ae87
fix headers 2022-09-15 21:53:29 +02:00
oxapentane - 46f3c8cf66
dvb-api: cross origin 2022-09-15 21:05:59 +02:00
oxapentane - d0d834f643
move pub files to /var/lib/pub-files 2022-09-15 19:46:05 +02:00
oxapentane - 0883ba78cf
update dump-csv service 2022-09-15 19:30:38 +02:00
oxapentane - 50351f1c68
add chemnitz mobile box 2022-09-15 19:04:52 +02:00
Tassilo - e007da7184
add nginx for data-accumulator 2022-09-14 22:53:45 +02:00
oxapentane - 728dce2876
move disk-module to dump-dvb.nix 2022-09-10 15:50:09 +02:00
Tassilo - 7ce3ce624e
getting tracy ready 2022-09-08 19:14:39 +02:00
Tassilo - a29b721fcc
fixed graph json location 2022-09-07 23:15:45 +02:00
Tassilo - beda761327
fixed endpoint in nginx 2022-09-07 22:51:18 +02:00
Tassilo - 6ceaef6b09
fixed directory name 2022-09-07 22:30:57 +02:00
Tassilo - 5e4fa14b1f
nginx endpoints 2022-09-07 22:13:52 +02:00
Tassilo - 64441acb75
removed postgres setup command 2022-09-07 20:16:20 +02:00
Tassilo - 4619b92fe0
add nixos options docs 2022-09-04 15:06:02 +02:00
Markus Schmidl ebc0b3be6c fix grafana database user 2022-09-04 00:53:10 +02:00
Tassilo - abcf90e433
using nice options docs 2022-09-03 22:14:43 +02:00
oxapentane - ef8d6d8bf1
csv-dump: remove temp file explicitly 2022-09-03 21:24:01 +02:00
Markus Schmidl ff8b2650bc use diesel for database migrations 2022-09-03 21:01:23 +02:00
Tassilo - d104792061
updating options 2022-09-03 00:25:10 +02:00
oxapentane - dcd3ff4931
change motd 2022-08-30 22:06:45 +02:00
Tassilo - e5e29f78ac
updating dump-dvb.nix 2022-08-30 21:18:56 +02:00
oxapentane - 59df08a5e8
install debugging tools by default 2022-08-30 19:39:44 +02:00
oxapentane - 1fb49e2b8b
nixpkgs-fmt 2022-08-24 18:48:33 +02:00
oxapentane - d073065f25
fix naming 2022-08-24 18:47:03 +02:00
Tassilo - bfac698865
configuration of mobile-box 2022-08-23 20:04:06 +02:00
oxapentane - 78874ef6cf
add networking tools 2022-08-22 23:34:36 +02:00
oxapentane - 3e8d2f6067
rework traffic-stop-box system generator, add new rpi3 station 2022-08-22 18:51:00 +02:00
oxapentane - 0ea00c4aa0
wireguard server is non-reusable config, move to hosts 2022-08-22 17:17:58 +02:00
Markus Schmidl f8d1b4a764 do not copy /nix/store/.links 2022-08-21 13:46:18 +02:00
Markus Schmidl 3de81e5f4a add make-disk-module.nix from nixpkgs 2022-08-21 13:40:11 +02:00
Markus Schmidl ae0b7cb444 nix config cleanup 2022-08-20 22:41:19 +02:00
oxapentane - 69d810d2a2
update csv file option 2022-08-20 15:54:29 +02:00
Tassilo - 91968ff314
setup creating script for raw_telegram table 2022-08-20 14:43:08 +02:00
Tassilo - 0f700b5c60
set offline flag to true for mobile box 2022-08-18 14:41:35 +02:00
Tassilo - 42ec654fb9
mobile box now sets offline for data-accumulator 2022-08-17 20:09:30 +02:00
oxapentane - 3989ea65db
open firewall port for the wartrammer 2022-08-17 17:44:37 +02:00
oxapentane - 4adffbed30
make csv-dump result world-readable 2022-08-08 02:11:36 +02:00
oxapentane - 9a27c1d817
dump telegrams to csv hourly 2022-08-08 02:03:17 +02:00
Tassilo - 3318da2fa8
adding location for graph.json 2022-07-28 22:50:35 +02:00
Tassilo - aa5100de52
trying to fix nginx paths 2022-07-28 22:49:00 +02:00
Tassilo - d2b6d19e72
add autoindex for testing 2022-07-28 22:36:56 +02:00
Tassilo - 3c4131c795
moved options 2022-07-28 22:32:08 +02:00
Tassilo - 897e716693
add config for serving stops.json 2022-07-28 21:11:34 +02:00
Markus Schmidl 475af0c4b6 traffic-stop-box-1: update config 2022-07-27 19:07:46 +02:00
Markus Schmidl c09d48e12b traffic-stop-box-{0,1,2}: put token into secrets 2022-07-26 15:16:44 +02:00
Markus Schmidl e345e84e27 update IF of barkhausenbau radio station 2022-07-25 20:09:32 +02:00
Markus Schmidl a2e693bfb6 add rf, if and bb config to traffic-stop-boxes 2022-07-21 18:32:01 +02:00
Markus Schmidl 986535c23f data-hoarder: add api. to nginx 2022-07-19 16:06:40 +02:00
Markus Schmidl 3dc6324e16 data-hoarder: use initialScript for postgres. add readonly grafana user for telegrams 2022-07-18 21:38:23 +02:00
oxapentane - ed20f38c7f
update motd 2022-07-13 22:56:38 +02:00
Tassilo - 9f0828e43f
fixed settings 2022-07-13 21:24:00 +02:00