From 027ebf456ca27c6eaaba40deefb502c4273c3ab4 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 22 Aug 2024 22:09:13 +0200 Subject: [PATCH] =?UTF-8?q?solitary:=20Import=20host=E2=80=90specific=20ke?= =?UTF-8?q?rnel=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nixos/config/solitary/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/config/solitary/configuration.nix b/nixos/config/solitary/configuration.nix index 2aa6ac7..dd5436b 100644 --- a/nixos/config/solitary/configuration.nix +++ b/nixos/config/solitary/configuration.nix @@ -40,7 +40,15 @@ in { inherit (self.packages.x86_64-linux) linux-hardened; in pkgs.linuxPackagesFor (linux-hardened.override { instSetArch = "x86-64-v3"; - extraConfig = linux-hardened.profile.paravirt; + 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; + }); }); environment.etc."machine-id".text = "1c97ae368741530de77aad42b5a6ae42";