[Nix-dev] Configure Nix to compile in RAMFS?

Sander nixos at humilis.net
Tue Feb 21 13:58:06 CET 2017


Marc Weber wrote (ao):
> > is it possible to set Nix to compile in a RAMFS? If yes, how to do this?
> fileSystems = [       { device = "tmpfs"; mountPoint="/tmp"; fsType = "tmpfs"; options = ["size=20000m" "mode=1777"]; }]
> (adopt to your liking)

or

boot.tmpOnTmpfs = true;

in configuration.nix ?

	Sander


More information about the nix-dev mailing list