diff --git a/nixos/modules/system/boot/zram-as-tmp.nix b/nixos/modules/system/boot/zram-as-tmp.nix index 194e7c1659ff..b87bd373ed24 100644 --- a/nixos/modules/system/boot/zram-as-tmp.nix +++ b/nixos/modules/system/boot/zram-as-tmp.nix @@ -85,6 +85,10 @@ in } ]; + boot.supportedFilesystems = { + ${cfg.zramSettings.fs-type} = true; + }; + services.zram-generator.enable = true; services.zram-generator.settings = let