solitary: Import host‐specific kernel options

This commit is contained in:
Mikael 2024-08-22 22:09:13 +02:00
parent eecfca82b9
commit 027ebf456c
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

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