fix config, needs mail address

This commit is contained in:
Christoph Cullmann 2024-10-29 19:19:22 +01:00
parent d5c967dd41
commit 6b581441e0
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View file

@ -24,8 +24,7 @@
neededForBoot = true;
};
# encrypted system - on a md device
boot.swraid.enable = true;
# encrypted system
boot.initrd.luks.devices."crypt-system" = {
device = "/dev/disk/by-uuid/565695e2-a09b-412b-9f26-4da10402b967";
allowDiscards = true;

View file

@ -26,6 +26,12 @@ in
# use the latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# allow md devices
boot.swraid.enable = true;
boot.swraid.mdadmConf = ''
MAILADDR=christoph@cullmann.io
'';
# my kernel parameters
boot.kernelParams = [
# don't check for split locks, for KVM and Co.