Skip to content

Add ZRAM for Kexec on Systems with Limited RAM #609

Description

@Fijxu

Prerequisites

  • I have searched existing issues to make sure this isn't a duplicate
  • I have checked the documentation to see if this feature already exists

Problem Description

Using nixos-anywhere on systems with 1GB of RAM almost always crashes due to out of memory, so I thought of using ZRAM (zstd compressed) on one of my 1GB RAM servers to see if I was able to install it NixOS on it without using --no-disko-deps and it actually worked, leaving my server with approximately 50MB of RAM available during the NixOS installation.

Proposed Solution

Add a command line option to define usage of ZRAM for people that want to use nixos-anywhere on 1GB systems.

Alternatives Considered

No response

Feature Type

New command-line option

Use Case

No response

Implementation Ideas

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions