From 8ceac3ce8800eacd9414d284bebf09bd1fb51943 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 7 Apr 2025 13:22:10 +0200 Subject: [PATCH] nixos/module-overrides: use modulesPath for luksroot override --- nix-os/module-overrides.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nix-os/module-overrides.nix b/nix-os/module-overrides.nix index 5938ce5..71df3de 100644 --- a/nix-os/module-overrides.nix +++ b/nix-os/module-overrides.nix @@ -1,10 +1,15 @@ -{ lib, ... }: +{ + lib, + modulesPath, + ... +}: + let moduleOverrides = [ # NIXPKGS-PR: 359882 { disabledModules = [ - "system/boot/luksroot.nix" + "${modulesPath}/system/boot/luksroot.nix" ]; replacementModules = [(builtins.fetchurl { url = "https://raw.githubusercontent.com/amozeo/nixpkgs/728d5806fe6f975ba3843297332d12e13119fe86/nixos/modules/system/boot/luksroot.nix";