From 4798b16a7a616d7e4bfa319e6aed92e424ae2ea7 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 29 Oct 2024 19:25:36 +0100 Subject: [PATCH] simplify config --- share/common.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/share/common.nix b/share/common.nix index 6b20bdd..8dbf427 100644 --- a/share/common.nix +++ b/share/common.nix @@ -27,10 +27,12 @@ in boot.kernelPackages = pkgs.linuxPackages_latest; # allow md devices - boot.swraid.enable = true; - boot.swraid.mdadmConf = '' - MAILADDR=christoph@cullmann.io - ''; + boot.swraid = { + enable = true; + mdadmConf = '' + MAILADDR=christoph@cullmann.io + ''; + }; # my kernel parameters boot.kernelParams = [