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; neededForBoot = true;
}; };
# encrypted system - on a md device # encrypted system
boot.swraid.enable = true;
boot.initrd.luks.devices."crypt-system" = { boot.initrd.luks.devices."crypt-system" = {
device = "/dev/disk/by-uuid/565695e2-a09b-412b-9f26-4da10402b967"; device = "/dev/disk/by-uuid/565695e2-a09b-412b-9f26-4da10402b967";
allowDiscards = true; allowDiscards = true;

View file

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