hosts: put tmp on tmpfs

This commit is contained in:
Kabbone 2023-01-07 08:38:47 +01:00
parent 35c329c4d8
commit cbc20ba224
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
3 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.tmpOnTmpfs = true;
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXROOT";

View File

@ -22,6 +22,7 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "mitigations=off" "luks.options=fido2-device=auto" ];
boot.tmpOnTmpfs = true;
boot.initrd.luks = {
fido2Support = true;

View File

@ -21,6 +21,7 @@
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.tmpOnTmpfs = true;
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXROOT";