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:
Dmitriy Kholkin 2025-03-10 18:37:22 +03:00
parent 57ab28592e
commit 9d808421af
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 13 additions and 1 deletions

View File

@ -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

View 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"