Commit Graph

375 Commits

Author SHA1 Message Date
k-ot
02e64a8f80 Remove lib/mpd.nix, configure pulsebert directly 2020-02-28 20:28:31 +00:00
k-ot
1f5a5272c4 Pulsebert: disable getty on the ncmpcpp tty 2020-02-22 16:25:25 +01:00
ffdecafac7 Remove this miserable nix.distributedBuilds shit 2020-02-22 15:54:52 +01:00
a255f545e3 server7: fix the bridge 2020-01-26 22:36:37 +01:00
0059e75b0b server7/samba: move around 2020-01-26 22:20:37 +01:00
b3112f6ea5 server7/samba: use DHCP 2020-01-26 22:19:29 +01:00
057529f14f server7/samba: fix guest account 2020-01-26 22:15:10 +01:00
e1ed8caa85 server7: move samba from storage to samba container 2020-01-26 22:12:22 +01:00
3f1934c2b3 server7/containers: add samba 2020-01-26 22:08:42 +01:00
9d4376600a Make storage writeable 2020-01-26 22:05:44 +01:00
b2f5af9abe server7/storage: enable nginx webdav 2020-01-26 22:00:29 +01:00
babf880949 Remove storage-ng 2020-01-26 21:55:22 +01:00
2d2aac6df0 Enable SFTP on storage 2020-01-26 21:55:22 +01:00
aee7e8651c Mover storage-ng to server7/storage 2020-01-26 19:25:07 +01:00
a4fefb7251 Move samba to server7 2020-01-26 19:25:07 +01:00
5a39119e2e Move nfs from storage-ng to server7 2020-01-26 18:37:24 +01:00
c96d71e06a Server7/ncdc: colllect statistics 2020-01-26 18:28:48 +01:00
ed3670aeba Move ncdc from storage-ng to server7 2020-01-26 18:03:51 +01:00
9e91b7c21e Move user configuration into c3d2 module 2020-01-26 18:03:37 +01:00
6033155062 Move mpd-index to Server7, c3d2.hq.enableMpdProxy 2020-01-26 14:10:10 +01:00
d17a7e01e9 Server7: define container options within per-container configs 2020-01-26 14:10:10 +01:00
76145d112d Server7: mount cephfs at /srv/ceph 2020-01-26 13:12:08 +01:00
27df1c21ba Add ehmry to storage-ng 2020-01-26 13:11:59 +01:00
65bff74538 Server7: stop building with other hydra, new nix-serve keys 2020-01-26 12:17:18 +01:00
c03a6ea7c0 Glotzbert: remove memtest 2020-01-20 17:32:13 +01:00
84e7a38024 Hail fixup 2020-01-20 17:32:09 +01:00
0878859b17 Hydra: disable firewall
Firewalls are only for poorly configured systems running insecure
services.
2020-01-20 17:06:14 +01:00
275e1696ae Pulsebert ncmpcpp on tty1 2020-01-20 16:47:32 +01:00
f761c4a5d1 Glotzbert: remove broadcom firmware
Hail cannot build this.
2020-01-20 15:36:23 +01:00
9f2af93778 Add glotzbert to host registry, add static IPv6 address 2020-01-20 15:17:03 +01:00
39cef2da1d Move mpd console to tty9, run as k-ot 2020-01-20 14:58:41 +01:00
654f2ecf1f Move hail into the c3d2 module 2020-01-20 14:58:41 +01:00
b60c3cc13b Server7: build on localhost and hydra 2020-01-18 18:49:56 +01:00
9675463d96 Server7: remove Tox bootstrap container
There is a Tox bot running on this machine that acts as a DHT node
and provides fast local discovery.
2020-01-18 18:49:56 +01:00
80fa2d745f Pulsebert: run ncmpcpp on tty0 2020-01-18 18:04:58 +01:00
f82f1ab323 Hydra: remove localhost from nix build machines
Localhost is used implicitly.
2020-01-18 17:37:47 +01:00
9d43c8617e Add emery user to pulsebert 2020-01-18 16:25:26 +01:00
5d2c1b64e3 Server7: remove distributed builds to hydra.hq 2020-01-17 11:10:45 +01:00
79b7d5c662 Add windsleep shell to hydra and server7 2020-01-17 11:08:22 +01:00
Daniel Poelzleithner
e2fde98b71 add docker 2020-01-06 19:57:36 +01:00
7d92e8cae9 hydra: create TUN device when starting yggdrasil 2019-12-24 05:35:08 +00:00
3c49f9b3bd hydra: add blanket allowed-uris to ease fetching and building
wouldn't work even with sha256 passed to builtins.fetchTarball
2019-12-17 18:34:29 +01:00
7a80aedadc server7: rm conflicting nix.maxJobs 2019-12-13 19:50:43 +01:00
05ce0e78d0 hydra, server7: increase maxJobs from 4 to 10 2019-12-13 19:49:07 +01:00
2e2fa3b8f1 lxc: progress, nixcloud-webservices 2019-12-09 22:52:53 +01:00
2e8ca6c52f hosts/storage-ng: linting 2019-12-09 21:28:07 +01:00
96d5d6bdb7 Take storage-ng configuration from the host 2019-12-09 21:28:07 +01:00
f2548258f5 Generate SSH known hosts in lib 2019-12-09 21:28:07 +01:00
0ec4127225 Use options.c3d2 at hydra, pulsebert, storage-ng 2019-12-09 21:28:07 +01:00
5aef044fbd Try to make grafana build 2019-12-09 21:28:07 +01:00
ca44a44ede Synchronize hosts/containers/grafana 2019-12-09 21:28:07 +01:00
5810750141 Add c3d2 options to module at lib/default.nix
Options are for assigning deterministic addresses, statistics
collection, MOTD, /etc/hosts, etc.
2019-12-09 21:28:07 +01:00
7f138f7b8f server7/tox: add Tox bootstrap node 2019-12-09 21:28:07 +01:00
023cd48e6e server7/tox: Add Collectd 2019-12-02 15:11:27 +01:00
2e5a180115 server7/tox: add Tox bootstrap node 2019-12-02 14:52:33 +01:00
6516995caa Add lib/known-hosts.nix 2019-12-01 14:18:39 +01:00
4de9883c83 hydra: re-enable yggdrasil 2019-12-01 11:33:59 +01:00
d94e9775c6 lxc: start an impl on server7 2019-12-01 00:39:16 +01:00
2158436497 mucbot: add networking.nameservers 2019-11-30 22:45:22 +01:00
832ed96e9f Add "buildfarmer" user to hydra and server7 2019-11-30 18:13:27 +01:00
73d769952d server7: move yggdrasil out of container 2019-11-29 23:35:28 +01:00
cec0945c8e server7/yggdrasil: import lib/ygdrasil.nix 2019-11-29 22:50:38 +01:00
fe6823b7cf server7/yggdrasil: disable firewall 2019-11-29 22:46:10 +01:00
f30af40d2a yggdrasil: enable 2019-11-29 22:45:16 +01:00
5c204eec4d server7: add more collectd plugins 2019-11-29 22:20:19 +01:00
aefbb759e6 yggdrasil container: enable DHCP/SLAAC 2019-11-29 22:11:39 +01:00
78bd91f0e6 yggdrasil: fix spelling 2019-11-29 22:05:46 +01:00
45c65cbac5 yggdrasil-hq: fix, enable for server7 2019-11-29 21:51:30 +01:00
e0c0fe1902 lib/yggdrasil-hq: init 2019-11-29 21:29:50 +01:00
44b080063b server7: add yggdrasil container 2019-11-29 20:59:38 +01:00
05d79734de Server7: new yggdrasil address 2019-11-29 20:43:06 +01:00
5b654c36cc server7: reduce network to just one bridge 2019-11-29 20:33:22 +01:00
499b83da52 Fix server7 hostname 2019-11-29 18:09:04 +01:00
d4be00ff1a Add build on Server7 from Hydra 2019-11-29 17:03:08 +01:00
1b5bd980e1 Add nix-serve to Server7, enable flakes for hydra 2019-11-29 15:53:37 +01:00
04159778a2 Add Server7 host 2019-11-29 14:28:24 +01:00
7048992e9a Remove ADC and yggdrasil from hydra 2019-11-29 14:28:24 +01:00
2235d3a6e6 Fix evaluation error on hydra ygg keys 2019-11-28 22:23:11 +01:00
4515842937 Add emery shell to hydra 2019-11-22 22:09:18 +01:00
ea1f9e8abc Add flakebert container to hydra, but do not enable 2019-11-22 21:32:38 +01:00
7ce1312baf hydra: add binfmt.emulatedSystems for aarch64 2019-11-17 21:05:23 +01:00
93dee9d76a hydra: reuse pre-generated yggdrasil keys 2019-11-16 16:45:45 +01:00
41c557695f hydra: create tun device file at boot 2019-11-16 16:31:19 +01:00
8908172562 lib/yggdrasil: use yggdrasil from <nixpkgs-master> 2019-11-12 00:50:02 +01:00
b649d9c6b6 pulsebert: build without yggdrasil for now 2019-11-12 00:28:03 +01:00
fb0d9ccd70 Use yggdrasil from nixpkgs 2019-11-11 17:26:15 +01:00
187b2936a3 Hail for grafana and mpd-index 2019-11-11 17:17:08 +01:00
363f28fb47 Replace yggdrasil submodule with an input 2019-11-09 16:52:22 +01:00
fc905397bb Update hydra with active local modifications 2019-11-09 15:16:02 +01:00
239de4b010 Enable hail service for pulsebert and glotzbert 2019-11-09 14:53:11 +01:00
a0a49e1e7e config.services.nginx.virtualHosts.<name>.enableSSL is deprecated 2019-11-09 14:39:50 +01:00
1e42d3ae7e Fix evualation errors 2019-11-09 14:29:33 +01:00
3ae443cee4 Deduplicate networking.defaultGateway 2019-11-09 14:28:58 +01:00
8798b2c1b6 hydra: allowUnfree 2019-11-09 14:15:26 +01:00
6f8d9f7c97 Merge common.nix and c3d2.nix to hq.nix 2019-11-09 13:59:47 +01:00
Daniel Poelzleithner
5063287196 fix beats logging and storage-ng 2019-11-05 18:44:39 +01:00
aa124f2fee dhcp: no DHCP client at all with force 2019-11-03 21:04:43 +01:00
d3b5bda4e6 dhcp: no DHCP client at all pls 2019-11-03 21:02:56 +01:00
e4b0ba7c25 remove feile
replaced by storage-ng
2019-11-02 23:40:47 +01:00
22ce8e5df1 grafana, mucbot: don't specify defaultGateway for systemd-networkd 2019-11-02 23:37:44 +01:00
82fca9bfa0 dnscache: fix unbound collectd script output 2019-11-02 21:26:36 +01:00
b5f680be04 dnscache: init 2019-11-02 21:25:13 +01:00
638bbf38a9 add hosts/containers/dn42 2019-11-02 01:02:46 +01:00
a3db616b2a dn42: init with quagga
has problems setting ipv6 routes
2019-11-01 23:28:58 +01:00
Daniel Poelzleithner
065d81ced4 update deployer 2019-10-11 20:16:37 +02:00
e04eaf5a9b Add lib/yggdrasil.nix
Enable yggdrasil for pulsebert
2019-10-02 13:08:26 +02:00
6c7822b7b8 Maybe fix hydra DNS 2019-10-02 13:06:07 +02:00
2b266f8ab4 Update hydra configuration 2019-09-30 17:41:31 +02:00
sand20
d1acea4a46 Add mpv --no-vid alias (#3) 2019-09-16 23:50:52 +02:00
b60f693e88 spaceapi: firewall.allowedTCPPorts 2019-09-11 00:08:27 +02:00
f5be7fec59 add spaceapi container 2019-09-10 22:05:03 +02:00
7201a221ec glotzbert: update 2019-09-07 17:38:31 +02:00
93fcc1588d Add hydra host 2019-09-05 17:17:49 +02:00
cf4ef255c6 MOTD 2019-09-02 10:09:44 +02:00
Daniel Poelzleithner
b7f8a98276 more memz please 2019-08-16 02:39:39 +02:00
Daniel Poelzleithner
7a48a1e2cd use hostnames 2019-08-15 18:56:58 +02:00
Daniel Poelzleithner
092d4b00e5 updates 2019-08-15 18:12:55 +02:00
df432f8e8a dhcp: fix syntax 2019-07-28 01:10:44 +02:00
51380a3935 dhcp: use dnscache.serv.zentralwerk.org 2019-07-28 01:10:03 +02:00
Daniel Poelzleithner
0fbfadf9cc updates to logging 2019-07-19 14:51:09 +02:00
Daniel Poelzleithner
fb9d929bc4 add prometheus host
unify logging into lib/logging
cleanup registry
2019-07-06 02:10:46 +02:00
Daniel Poelzleithner
bf5e0de49c activate central logging 2019-07-04 04:23:39 +02:00
Daniel Poelzleithner
e65f04fb32 add mongo. add missing files 2019-07-04 00:31:45 +02:00
Daniel Poelzleithner
d4a933f473 add elastic/logging 2019-07-03 20:26:46 +02:00
Daniel Poelzleithner
c4d78e168b updates 2019-07-03 20:17:45 +02:00
Daniel Poelzleithner
bbcb8eef69 update deployer 2019-07-03 20:16:11 +02:00
k-ot
62f0bd9311 Merge branch 'master' of https://gitea.c3d2.de/C3D2/nix-config 2019-07-03 19:54:07 +02:00
Daniel Poelzleithner
f79af77a3e add deployer, update secrets 2019-07-03 15:35:21 +02:00
3d149702ed Move generic MPD satellite config to /mpd.nix 2019-07-02 21:44:03 +02:00
7e5fa1bdfd Partial deduplication of pulsebert config 2019-07-02 21:19:17 +02:00
30b23abbed Add storage-ng 2019-07-02 21:19:17 +02:00
Markus Schmidl
9b0132df80
hosts/pulsebert: add package ncpamixer 2019-06-22 15:55:17 +02:00
Markus Schmidl
80b685f0a3
contains/public-access-proxy: updated hosts 2019-06-22 15:54:04 +02:00
Markus Schmidl
8842e84b0f
contains/public-access-proxy: fixed forwarding 2019-06-22 15:05:13 +02:00
Markus Schmidl
4aa3d1a291 contains/public-access-proxy: add to nixops and fixed proxy warnings 2019-05-10 16:54:46 +02:00
Markus Schmidl
abd6a32d43 contains/public-access-proxy: update 2019-05-06 19:31:33 +02:00
Markus Schmidl
b333024bac Merge branch 'master' of ssh://gitea.c3d2.de:2222/C3D2/nix-config 2019-04-30 23:21:47 +02:00
Daniel Poelzleithner
5f882defe0 allow large image uploads 2019-04-16 12:32:26 +02:00
Daniel Poelzleithner
60554d1be7 add iotop 2019-04-16 12:32:00 +02:00
Markus Schmidl
6e5c770c37 added openssh to mpd-index 2019-04-13 20:12:34 +02:00
Markus Schmidl
ea75cc0233 updated lxc-template 2019-04-13 20:11:26 +02:00
Markus Schmidl
0a0b6bdffa containers/mpd-index: added ncmpcpp 2019-04-13 18:52:53 +02:00
Markus Schmidl
38540f8b72 added mpd-index container 2019-04-13 18:24:44 +02:00
Markus Schmidl
257b4581a6 updated public-access-proxy 2019-04-07 22:18:26 +02:00
Markus Schmidl
6f146ce3c9 moved hosts/storage-ng to hosts/containers 2019-04-07 21:34:50 +02:00
7abcc676b7 pulsebert: use linux 4.19 2019-04-07 21:27:49 +02:00
891a808415 pulsebert: add shairport support 2019-04-07 21:27:32 +02:00
9bd5208c2f factor out into lib/admins.nix 2019-04-07 21:23:31 +02:00
098be6aba0 pulsebert: update ympd sha256 hash 2019-04-07 21:07:39 +02:00
149172789a grafana: useDHCP 2019-04-07 01:01:54 +02:00
d2c3751323 add mucbot container 2019-04-07 00:59:00 +02:00
Markus Schmidl
72376456e1 storage-ng/public-access-proxy: default gateway 172.22.99.4 on eth0 2019-04-02 03:04:19 +02:00
Markus Schmidl
0e5096599e Merge branch 'master' of ssh://gitea.c3d2.de:2222/C3D2/nix-config 2019-04-02 01:55:47 +02:00
Markus Schmidl
ea3179f7fc storage-ng/public-access-proxy: listen to v4 and v6 2019-04-02 01:55:40 +02:00
2b03a25395 dhcp: update networking.nameservers, update conf 2019-04-01 19:05:40 +02:00
1dab3fbc6e dhcp: no client 2019-04-01 03:32:31 +02:00
60f57166c9 add dhcp 2019-04-01 03:32:31 +02:00
d6f156c017 update lxc-template stuff 2019-04-01 03:32:31 +02:00
Markus Schmidl
f7fd74fd95 storage-ng/public-address-proxy: fixed typo 2019-04-01 03:28:30 +02:00
Markus Schmidl
bc1118fccf storage-ng/public-address-proxy: fixed errors 2019-04-01 03:22:12 +02:00
79db592b0a refactor into lib/lxc-container,shared for grafana 2019-04-01 01:24:54 +02:00
Markus Schmidl
f4b14c94fa storage-ng/public-address-proxy: proxy different fqdns to different hosts 2019-03-31 23:26:18 +02:00
Daniel Poelzleithner
bde5a3d467 add docker registry 2019-03-20 14:42:02 +01:00
52792901bd pulsebert: use strfry's ympd branch 2019-02-19 23:47:54 +01:00
2ab5593af6 pulsebert: add home-manager home.nix 2019-02-19 23:30:27 +01:00
96e19766a7 pulsebert mpd: fix using mpd database from 172.22.99.98 2019-02-18 19:54:30 +01:00
Daniel Poelzleithner
37823b1fb6 enable network printing on pulsebert 2019-02-17 17:13:22 +01:00
ffd0e8720a pulsebert: let caddy accept any vhost, redirect to https://mpd.hq.c3d2.de
Fixes Github issue #1
2019-02-13 19:16:16 +01:00
strfry
9627ebe6d3 pulsebert modifications by strfry
Committer: Astro <astro@spaceboyz.net>
2019-02-13 19:16:16 +01:00
4b00bcaced pulsebert: unfirewall 443/tcp for ympd 2019-02-11 01:16:36 +01:00
a5fa3a45f4 pulsebert: https the ympd 2019-02-11 00:55:37 +01:00
c6f482e811 mv storage-ng/* to storage-ng/feile/ 2019-02-11 00:24:52 +01:00
d17f0a87f0 merge nix/ and hosts/ 2019-02-11 00:24:07 +01:00
5f44d5ccde add grafana host 2019-01-17 23:45:26 +01:00
d620685bf5 add lxc-template for storage-ng 2019-01-17 23:41:54 +01:00