fix: remove erofs
from kernel module blacklist for hardened profile
system.etc.overlay requires erofs kernel module, but hardened profile from nixpkgs disables it. Patch nixpkgs and remove erofs module from blacklist.
This commit is contained in:
parent
57ab28592e
commit
9d808421af
@ -70,7 +70,7 @@
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
patches = [ ./patches/onlyoffice.patch ];
|
||||
patches = [ ./patches/erofs-hardened.patch ];
|
||||
overlays = [
|
||||
inputs.ataraxiasjel-nur.overlays.default
|
||||
inputs.ataraxiasjel-nur.overlays.grub2-unstable-argon2
|
||||
|
12
patches/erofs-hardened.patch
Normal file
12
patches/erofs-hardened.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/nixos/modules/profiles/hardened.nix b/nixos/modules/profiles/hardened.nix
|
||||
index dc3bf597cd4b..70a7af42358a 100644
|
||||
--- a/nixos/modules/profiles/hardened.nix
|
||||
+++ b/nixos/modules/profiles/hardened.nix
|
||||
@@ -84,7 +84,6 @@ in
|
||||
"befs"
|
||||
"cramfs"
|
||||
"efs"
|
||||
- "erofs"
|
||||
"exofs"
|
||||
"freevxfs"
|
||||
"f2fs"
|
Loading…
x
Reference in New Issue
Block a user