Commit Graph

310 Commits

Author SHA1 Message Date
e03f42925e
audio-server: add somafm-cli 2023-05-18 16:19:14 +02:00
0aa5340645
Fix kernel priority 2023-05-18 02:25:09 +02:00
d1e793f4c0
rpi-netboot: fix kernel 2023-05-18 02:07:27 +02:00
2547cfe54b
Use options for restic backups 2023-05-18 02:06:44 +02:00
5fd87acd57
backup: start pg dump before restic backup 2023-05-17 19:05:53 +02:00
dd489fe8cd
Add offsite restic backups, move to backup module 2023-05-17 10:20:38 +02:00
d4024c74e8
rpi-netboot: don't use latest kernel 2023-05-16 23:24:00 +02:00
c51146e013
audio-server: allow loading rtkit on headless systems 2023-05-16 23:18:07 +02:00
a8a5870a02
audio-server: use rt kernel 2023-05-16 23:17:58 +02:00
86da3d11e0
audio-server: enable user pipewire 2023-05-16 18:50:07 +02:00
28ebefdf33
audio-server: add comment to be reminded that things are working 2023-05-15 23:49:23 +02:00
f1fff05b2d
audio-server: cleanup overlays 2023-05-15 20:37:26 +02:00
d6b3b5a3cd
disko: fix eval 2023-05-10 20:34:53 +02:00
b69819df89
Switch to disko module 2023-05-08 23:33:12 +02:00
469c7fb207
audio-server: add rtkit to k-ot, install yt-dlp with youtube-dl alias 2023-05-02 21:51:12 +02:00
86e0c40fd4
audio-server: don't enable bluetooth by default
It coredumps on pipebert
2023-05-02 21:50:50 +02:00
4f2a08a5cb
audio-server: add ledfx overlays 2023-04-29 23:26:17 +02:00
a23f73e88b
Move audio specific settings from pulsebert to audioserver 2023-04-29 23:05:39 +02:00
9b70709d50
disko: add WIP module 2023-04-29 23:05:17 +02:00
ad86d6d59b
stats: move nginx status port to the same port as the node_exporter proxy 2023-04-24 20:13:05 +02:00
d801ace08b
Don't import ssh-keys multiple times 2023-04-22 23:03:14 +02:00
009780d093
pulsebert: add ledfx 2023-04-15 02:37:48 +02:00
8860310068
stats: fix eval, fix default nginx status port 2023-04-11 01:37:34 +02:00
7c77a4c6f7
Merge monitoring into stats
Don't listen with nginx on port 80 for stats
2023-04-11 01:11:06 +02:00
7662f8e536
microvm-host: remove duplicated key 2023-04-09 21:13:35 +02:00
b86bb8d067
Rename nix-serve to nix-cache 2023-04-03 20:34:04 +02:00
662f487311
proxy node_exporter through nginx and drop none local traffic 2023-03-28 01:27:24 +02:00
4a64497366
Fix microvm autostart list 2023-03-21 01:24:06 +01:00
aadb6ae26e modules/cluster: add in server7 2023-03-06 20:40:04 +01:00
11f38c5e2d modules/microvm-defaults: init 2023-02-21 00:07:14 +01:00
0c52c5655e use deployment flake for cluster options 2023-02-10 01:18:19 +01:00
1cb36aeab9 Update 'modules/cluster/customization/options.nix' 2023-02-02 23:18:12 +01:00
44dce01261 Update 'modules/cluster/default.nix' 2023-02-01 21:12:17 +01:00
6ef686ff46 modules/cluster/customization/options: move types into separate file so that options can be merged on extendModules 2023-01-20 18:51:40 +01:00
ea8bf43313 modules/cluster/customization/options: remove unused deployment.storage 2023-01-20 18:51:40 +01:00
c19aa22b4c modules/cluster/deployment*.nix: move to modules/cluster/customization/
lets default.nix refer to options.nix
2023-01-20 18:51:37 +01:00
040a715402 modules/cluster/deployment*.nix: move to modules/cluster/customization/
lets default.nix refer to options.nix
2023-01-19 16:55:34 +01:00
870b1f38c1 modules/cluster: add skyflake user luulaatsch 2023-01-19 16:55:34 +01:00
6d1ecddb5f
Assert that ceph is not updated 2023-01-17 00:38:26 +01:00
d89ec28ff3 modules/cluster: remove broken glusterfs setup 2023-01-13 01:35:20 +01:00
17cecf0049 modules/cluster/default: monitor ceph with collectd 2023-01-08 03:05:55 +01:00
c9316ac41c modules/cluster: add ceph 2023-01-07 02:54:35 +01:00
ca6fe29106
Fix conntrack issues in microvm
due to bad scaling with lower RAM
2023-01-05 22:13:59 +01:00
1173a83b77
Delete old known_hosts option 2023-01-04 22:36:18 +01:00
854385feb0
Create home with right permissions 2023-01-04 01:28:26 +01:00
4a69bb6f5e
Remove zfs options now in nixos-modules 2023-01-03 00:20:51 +01:00
42cc20ff5f
Migrate simd.arch to nixos-modules 2023-01-02 17:37:29 +01:00
f8bccd8508
Format 2023-01-02 17:15:14 +01:00
f6885a1432
Add todo 2022-12-27 02:29:36 +01:00
a0d1053943
Turn off firmware for microvm 2022-12-26 04:02:08 +01:00
253720c398
Use latest zfs compatible kernel 2022-12-23 21:42:58 +01:00
ae05bdb2dd
Create new root home dir 2022-12-23 21:42:58 +01:00
9597e7a816
microvm: don't mutate users in microvms 2022-12-22 21:56:36 +01:00
6b692d6e7b
Use writeShellScript 2022-12-22 21:56:25 +01:00
1db84c2429
DROP 2022-12-22 02:20:07 +01:00
ea73362f0e
motd: fix infinite recursion 2022-12-22 01:52:09 +01:00
7e72e59a77
Move none module settings to config 2022-12-22 01:15:10 +01:00
0e6ffa51fa
Exclude rpi-netboot with graphical gnome from nox 2022-12-21 23:47:42 +01:00
fe8683f01f
Drop c3d2.isInHq 2022-12-21 19:43:47 +01:00
0028e20c55
Fix eval, remove useless attr hosts in hostRegistry, hosts are now directly at hostRegistry 2022-12-20 07:20:39 +01:00
aafc472a59
Handle nginx open firewall by nixos-modules 2022-12-20 04:32:18 +01:00
c15bd0e155
Remove mostly unused host-registry and combine ssh public keys with users.nix 2022-12-20 04:11:52 +01:00
81d598cb40
Add en_us locale back 2022-12-19 02:27:42 +01:00
fee4372499
Cleanup options 2022-12-19 01:08:36 +01:00
d8f39ea06c
Turn on noXlibs 2022-12-19 00:15:19 +01:00
98d491d27e
Enable fzf globally 2022-12-19 00:10:21 +01:00
d53f010043
Add dig everywhere 2022-12-18 23:42:30 +01:00
e57371ae34
Try fixing missing root home directory 2022-12-18 22:33:18 +01:00
8caf765d3a
microvm: persist root bash history file 2022-12-18 22:18:08 +01:00
8e5f6731d4
Default microvm mounts to etc, home, var; random cleanups 2022-12-18 22:18:08 +01:00
e43ce3b29b
hydra: combine default.nix and hydra.nix, remove nix store over ssh 2022-12-18 19:03:24 +01:00
7d18fad68a modules/cluster/default.nix: disable skyflake.debug for now 2022-12-18 03:20:13 +01:00
c2d21103f8
Remove unused module 2022-12-16 21:55:47 +01:00
5cbd4ee6a5
Auto free nix store when almost full 2022-12-14 20:55:02 +01:00
5640331aef
Add tree globally 2022-12-12 23:51:35 +01:00
49b6b5dc4d modules/cluster/deployment: add option extraShares 2022-12-12 21:16:20 +01:00
c63d8e3f15 modules/microvm: remove legacy nomad leftover 2022-12-12 01:45:53 +01:00
93806bd148
Remove old journalbeat config, enable more node-exporter modules 2022-12-10 20:51:53 +01:00
ff04c649c3
Actually enable noXlibs 2022-12-09 22:41:39 +01:00
52161e0aa1
backup: compress postgres dumps 2022-12-04 22:06:19 +01:00
1ef51c1d32 modules/cluster/deployment: make microvm.hypervisor configurable
as requested by marenz
2022-12-04 21:32:16 +01:00
b467bb4e74
Generate simd variants of each host, delete unused module 2022-12-04 08:55:28 +01:00
6b8d8541c6
Deadnix, statix, other cleanups 2022-12-04 08:55:27 +01:00
c4241c25ab
Sort 2022-12-04 06:38:09 +01:00
f97b96387d
Cleanup unused variable, remove global with lib 2022-12-04 06:38:09 +01:00
d99d4129f3 modules/cluster/deployment: add operator to needForSpeed nomad affinity 2022-11-28 01:16:54 +01:00
07bfd31ee7 modules/cluster/deployment: disable nix.gc.automatic 2022-11-28 01:16:36 +01:00
18d0694b10 modules/cluster/default: add additional gcroots symlink 2022-11-28 00:49:14 +01:00
e85c3d8c51 prometheus: redeploy 2022-11-27 01:38:44 +01:00
588bebc3cf modules/cluster/deployment-options: fix 2022-11-26 02:55:12 +01:00
9ad4bd0649 modules/cluster/deployment-options: fix networks 2022-11-26 02:53:32 +01:00
e91e69b14a modules/cluster/deployment-options: add hacks to allow build on hydra 2022-11-26 02:41:51 +01:00
7bc3b49cc3 modules/cluster/deployment: let microvms specify their nets by providing just a default 2022-11-26 01:41:28 +01:00
d95e924778 modules/cluster/default: remove debug output 2022-11-26 00:35:07 +01:00
de9ce610e9 modules/cluster/deployment: add option deployment.needForSpeed 2022-11-26 00:34:41 +01:00
ebf4e41b73 modules/cluster: start supporting multiple storages 2022-11-25 23:07:54 +01:00
7a19ac58e3 modules/cluster/default: add glusterfs big 2022-11-24 21:03:54 +01:00
79dcef419e modules/cluster/default: add server8 2022-11-24 19:37:42 +01:00
9fca77eb57 modules/cluster/deployment-options: let deployment.vcpu default to 4 2022-11-24 00:03:30 +01:00
dbb7e552e5 modules/cluster: enable skyflake.debug 2022-11-21 21:25:58 +01:00
4cf2b62ebe modules/c3d2: remove nix.settings.auto-optimise-store
doesn't work with writableStoreOverlay
2022-11-21 19:41:25 +01:00
4b6fce111a modules/cluster: prepare for leon 2022-11-21 04:00:54 +01:00
e359623c8c modules/cluster/default: set static uid for c3d2 2022-11-21 00:52:46 +01:00
5236be655b modules/cluster/deployment: set deployment.networks to the intelligent value 2022-11-20 21:39:00 +01:00
330aea7cae modules/cluster/deployment: fix path to glusterfs 2022-11-17 17:47:47 +01:00
e15d786e5f modules/microvm-host: fix update-microvm script by removing old symlink
first
2022-11-08 00:21:42 +01:00
2c07006ef0 modules/cluster/deployment-options: revive option deployment.networks 2022-11-07 21:15:37 +01:00
acdaf7eece modules/cluster/deployment: fixups 2022-11-06 14:58:42 +01:00
3566f340f4 modules/cluster/default: set skyflake.deploy.customizationModule 2022-11-06 13:52:37 +01:00
cfeb74ee54 modules/cluster/deployment: init 2022-11-06 13:27:53 +01:00
3613ec82e6 mucbot: prepare skyflakification 2022-11-06 00:42:25 +01:00
d2a02d7582 modules/nomad-microvm: rm 2022-11-06 00:42:25 +01:00
3aef94e4a0 modules/microvm: copyToServer with --no-check-sigs 2022-11-03 20:51:57 +01:00
b01071e4a3 modules/cluster/network: rename from modules/cluster-network 2022-11-03 20:51:57 +01:00
44b8845894 server9, server10, hydra: prepare skyflake 2022-11-01 02:36:25 +01:00
4e28682f88
Fix eval 2022-10-31 21:14:42 +01:00
3eb015c186
Dump postgres databases for backups 2022-10-31 20:30:38 +01:00
f2930ac63e
cp microvm symlinks to not accidentally mv the last good one 2022-10-27 21:36:12 +02:00
6a3145b315 modules/c3d2: disable journaltoMqtt because it broke 2022-10-13 20:47:29 +02:00
ae1e318a9a
Turn automatic nix garbage collection off in microvm 2022-10-07 22:17:33 +02:00
a22321a25d modules/cluster: fix settings scope 2022-09-29 18:24:08 +02:00
8f9004d906 modules/stats: pick more collectd plugins when isMetal 2022-09-29 18:24:08 +02:00
caf8cd5583
c3d2: disable nixos doc 2022-09-28 21:16:59 +02:00
a5a6a00bee
c3d2: fix locale 2022-09-28 21:16:50 +02:00
e9639581a3
Merge config/ into modules/ 2022-09-28 21:10:09 +02:00
d1abf63abb s/nixFlakes/nix/ 2022-09-27 02:01:38 +02:00
57a93e64ea modules/microvm: use ssh-ng in copyToServer 2022-09-26 00:04:50 +02:00
079784836a modules/{autoupdate,microvm-host}: let jq fail 2022-09-25 22:45:25 +02:00
9e7a7c9ee6 hydra: add harmonia on https://nix-serve.hq.c3d2.de 2022-09-25 22:04:59 +02:00
fb766a7d22 config/c3d2, modules/microvm-host: update outdated nix.settings 2022-09-22 02:08:17 +02:00
a2df57960d modules/microvm-host: let update-microvm handle more cases 2022-09-22 02:04:04 +02:00
5862adf9ed modules/microvm: refactor into modules/nomad-microvm 2022-09-22 02:04:04 +02:00
97e18154b1 modules/microvm: wiggle the nomad restart parameters 2022-09-21 21:26:45 +02:00
84d18b67eb modules/microvm: get hypervisors in nomad-jobs to shutdown gracefully 2022-09-21 21:26:45 +02:00
e492f5a724 modules/microvm: disable dhcpcd 2022-09-18 22:15:59 +02:00
ca3dd9729d modules/microvm: add defaultGateway for flpk 2022-09-18 01:44:49 +02:00
dd75a52d28
Move audio groups to audio module 2022-09-17 22:16:40 +02:00
3a85bcf059 modules/rpi-netboot: work around long stp forward delays in some switches 2022-09-16 23:13:31 +02:00
afc7a33eb5 modules/microvm-host: improve update-microvm behaviour 2022-09-16 00:11:00 +02:00
f2a17e6e83 modules/c3d2: make vector mqtt client_id unique 2022-09-13 01:48:25 +02:00
a68cf4d4c1 modules/c3d2: remove unnecessary journalToMqtt vector transform 2022-09-11 04:13:49 +02:00
3aa7960817 modules/c3d2: try to fix journalToMqtt topic 2022-09-09 01:17:29 +02:00
3eef152463 modules/c3d2: add c3d2.hq.journalToMqtt 2022-09-07 17:56:51 +02:00
999aefd931 modules/microvm: delete old tap iface on nomad prestart not poststop 2022-09-06 21:55:27 +02:00
5c493a8128 modules/autoupdate: always run nix-env before switch-to-configuration 2022-09-02 21:26:14 +02:00
1dbe3569b2
Allow diff-system to fail
When upgrading from older systems with nix 2.3.x the command is not yet
understood. Since it is purely informational a failure can be safely
ignored.
2022-08-21 22:44:05 +02:00
5a6d495f71 modules/microvm-host: add update-microvm command 2022-08-17 22:15:01 +02:00
ac2a9e2246 server9, server10: refactor into modules/microvm-host 2022-08-17 21:00:01 +02:00
4bdd221264 modules.cluster: nomad 1.3.1 -> 1.3.3 2022-08-15 23:38:20 +02:00
eab36bedff modules/cluste: add back wander 2022-07-19 20:59:53 +02:00