Commit Graph

360 Commits

Author SHA1 Message Date
00000704ef
audio-server: fix pipewire config 2023-05-24 00:41:47 +02:00
232323a3da
Make net.netfilter.nf_conntrack_max work on skyflake 2023-05-23 21:38:50 +02:00
1dd62b623a
drone: add backups 2023-05-23 21:00:39 +02:00
69a5ebae1c modules/microvm-defaults: remove firewall.autoLoadConntrackHelpers
> Failed assertions:
> - conntrack helper autoloading has been removed from kernel 6.0
>   and newer
2023-05-23 20:37:15 +02:00
4242ac073e
Use ceph version 16.2 on 23.05 2023-05-23 20:16:21 +02:00
cbcd46d300 modules/cluster/default: put skyflake home on cephfs, mount legacy cephfs 2023-05-22 01:13:08 +02:00
5f1b416930
backup: add jabber to secrets 2023-05-22 00:51:27 +02:00
85fdf72582
Fix secret path 2023-05-21 22:24:35 +02:00
221c2466fa
cluster: add server6 2023-05-21 22:24:27 +02:00
4a964f7abf
Reduce ceph secrets scope 2023-05-21 22:01:22 +02:00
afe096f373
audio-server: pause mpv in the early morning 2023-05-21 21:24:29 +02:00
626b33befc
disko: fix nix store mountpoint 2023-05-21 21:24:10 +02:00
724b68736b
disko: fix dataset path 2023-05-21 21:17:24 +02:00
5e1a871c7e
disko: fix zfs mountpoints 2023-05-21 21:12:56 +02:00
0a7bdbb3ee
baremetal: force import zfs pool 2023-05-21 21:12:45 +02:00
5a6de46dff
iso: set admin keys for nixos user, too 2023-05-21 20:58:25 +02:00
130b65390f
c3d2: don't write password in plain text 2023-05-21 15:37:42 +02:00
ec567ffbfa
Move mergeNncpSettings setting 2023-05-21 15:37:27 +02:00
50cc0db69c
baremetal: assert that kernel module for initrd is loaded 2023-05-20 22:12:35 +02:00
45d251666e
baremetal: generate initrd host keys if they don't exist and are required 2023-05-20 22:12:16 +02:00
03ded3f74a
disko: don't mount zpool at / 2023-05-20 19:12:23 +02:00
ff6d545ea4
disko: strip new lines from key files 2023-05-20 19:12:03 +02:00
815a379ddb
disko: use disko for config.fileSystems
because nixos-generate-config does not handle our complex setup :(
2023-05-20 04:38:51 +02:00
23a1aecaf5
baremetal: add untested ssh unlock in initrd 2023-05-20 04:38:51 +02:00
a5235a4654
disko: cleanup code
Thanks @marenz :)
2023-05-20 04:18:29 +02:00
7516e0a906
disko: fix zfs disk name 2023-05-20 04:06:18 +02:00
5eba2dc00e
baremetal: enable fstrim 2023-05-20 02:57:56 +02:00
87dc4f22b2
Revive microvm-default to reduce the mess 2023-05-20 02:57:56 +02:00
611d07108f
ceph: widen assertion
patch updates are okay
2023-05-20 00:39:02 +02:00
169836c95f
Move nix settins to baremetal 2023-05-19 23:06:04 +02:00
65308a90cf modules/cluster: switch to skyflake microvm / on rbd 2023-05-19 21:49:01 +02:00
d126fbc5be
Format 2023-05-19 21:40:18 +02:00
27e567e82c
Add baremetal option 2023-05-19 21:38:30 +02:00
04350a3faf
Combine microvm-defaults.nix to microvm.nix 2023-05-19 21:05:23 +02:00
2a442cdfd6
Add buzzrelay 2023-05-19 14:52:54 +02:00
9f59613e93
disko: fix eval yet another time 2023-05-19 03:49:13 +02:00
99e9264a1c
disko: fix eval yet again 2023-05-19 03:29:02 +02:00
adca4a2674
disko: fix eval when no disko is configured 2023-05-19 03:23:02 +02:00
b7fe690365
disko: eval fix #3 2023-05-19 02:38:08 +02:00
19457597b1
disko: try to fix eval 2023-05-19 02:28:03 +02:00
4d386ecfdc
disko: fix default value 2023-05-19 02:25:00 +02:00
465abc2b03
disko: document constant 2023-05-19 02:02:40 +02:00
7e3a98d68f
disko: support multiple disks 2023-05-19 01:57:15 +02:00
d8c0110ebc
Remove LimitNOFile increases as it is a bug in virtiofsd 2023-05-18 22:11:12 +02:00
fcdb823c5c
backup: report restic progress, allow more open files 2023-05-18 18:36:25 +02:00
efd124ac4f
Backup Hedgedoc 2023-05-18 18:36:16 +02:00
6276ff3f00
Fix eval, another try 2023-05-18 17:49:25 +02:00
ba1905778e
backup: add extra paths 2023-05-18 17:15:45 +02:00
299a30d838
Backup matrix, ticker 2023-05-18 17:15:36 +02:00
26dce1e4cf
audio-server: fix eval 2023-05-18 16:19:57 +02:00
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