nixos/module-overrides: use modulesPath for luksroot override
This commit is contained in:
parent
27b241adff
commit
8ceac3ce88
1 changed files with 7 additions and 2 deletions
|
@ -1,10 +1,15 @@
|
||||||
{ lib, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
moduleOverrides = [
|
moduleOverrides = [
|
||||||
# NIXPKGS-PR: 359882
|
# NIXPKGS-PR: 359882
|
||||||
{
|
{
|
||||||
disabledModules = [
|
disabledModules = [
|
||||||
"system/boot/luksroot.nix"
|
"${modulesPath}/system/boot/luksroot.nix"
|
||||||
];
|
];
|
||||||
replacementModules = [(builtins.fetchurl {
|
replacementModules = [(builtins.fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/amozeo/nixpkgs/728d5806fe6f975ba3843297332d12e13119fe86/nixos/modules/system/boot/luksroot.nix";
|
url = "https://raw.githubusercontent.com/amozeo/nixpkgs/728d5806fe6f975ba3843297332d12e13119fe86/nixos/modules/system/boot/luksroot.nix";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue