From 6d8e13abfe979cc293faf9c2709bad048f2109a6 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Mon, 16 Sep 2024 21:00:43 +0200 Subject: [PATCH] linux: Enable ext4 support --- nixos/config/muon.nix | 3 --- nixos/config/solitary/configuration.nix | 3 --- package/linux-hardened/config.nix | 4 ++++ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/nixos/config/muon.nix b/nixos/config/muon.nix index 486db4c..757f764 100644 --- a/nixos/config/muon.nix +++ b/nixos/config/muon.nix @@ -189,9 +189,6 @@ imports = [ INTEL_RAPL = true; - EXT4_FS = true; - EXT4_USE_FOR_EXT2 = true; - EXT4_FS_POSIX_ACL = true; BTRFS_FS = true; BTRFS_FS_POSIX_ACL = true; FUSE_FS = true; diff --git a/nixos/config/solitary/configuration.nix b/nixos/config/solitary/configuration.nix index dd5436b..4ed0822 100644 --- a/nixos/config/solitary/configuration.nix +++ b/nixos/config/solitary/configuration.nix @@ -43,9 +43,6 @@ in { extraConfig = linux-hardened.profile.paravirt // (with self.lib.kernel; { NR_CPUS = 8; - EXT4_FS = true; - EXT4_USE_FOR_EXT2 = true; - EXT4_FS_POSIX_ACL = true; BTRFS_FS = true; BTRFS_FS_POSIX_ACL = true; }); diff --git a/package/linux-hardened/config.nix b/package/linux-hardened/config.nix index 2088a1b..04026d0 100644 --- a/package/linux-hardened/config.nix +++ b/package/linux-hardened/config.nix @@ -537,6 +537,10 @@ }; filesystem = { + EXT4_FS = true; + EXT4_USE_FOR_EXT2 = true; + EXT4_FS_POSIX_ACL = true; + OVERLAY_FS = true; OVERLAY_FS_REDIRECT_DIR = true; OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW = false;