Skip to content

Zram generator

services.zram-generator.enable

Whether to enable Systemd unit generator for zram devices. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/system/zram-generator.nix

services.zram-generator.package

The zram-generator package to use. Type: package

Default

pkgs.zram-generator

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/system/zram-generator.nix

services.zram-generator.settings

Configuration for zram-generator, see https://github.com/systemd/zram-generator for documentation.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/system/zram-generator.nix