Prerequisites
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
Prerequisites
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 (
zstdcompressed) on one of my 1GB RAM servers to see if I was able to install it NixOS on it without using--no-disko-depsand 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