fix config, needs mail address
This commit is contained in:
parent
d5c967dd41
commit
6b581441e0
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue