From 89e0c0df282dd0e4c7940b0b51d22d83f3af137e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 9 Jul 2025 11:11:22 +0200 Subject: [PATCH] Add storcli utility to apex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- m/apex/configuration.nix | 4 ++++ m/common/base/nix.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/m/apex/configuration.nix b/m/apex/configuration.nix index 2facf6cc..a36a9657 100644 --- a/m/apex/configuration.nix +++ b/m/apex/configuration.nix @@ -15,6 +15,10 @@ "megaraid_sas" # For HW RAID ]; + environment.systemPackages = with pkgs; [ + storcli # To manage HW RAID + ]; + fileSystems."/home" = { device = "/dev/disk/by-label/home"; fsType = "ext4"; diff --git a/m/common/base/nix.nix b/m/common/base/nix.nix index 5eee5b7b..0e41b27d 100644 --- a/m/common/base/nix.nix +++ b/m/common/base/nix.nix @@ -6,6 +6,8 @@ (import ../../../pkgs/overlay.nix) ]; + nixpkgs.config.allowUnfree = true; + nix = { nixPath = [ "nixpkgs=${nixpkgs}"