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

2017-02-22 Thread Matthias Beyer
On 21-02-2017 13:58:06, Sander wrote:
> 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=2m" "mode=1777"]; }]
> > (adopt to your liking)
> 
> or
> 
> boot.tmpOnTmpfs = true;
> 
> in configuration.nix ?
> 

If this is true, I already compiled everything on RAM :-)

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Consider switching to free software.
It adds value to your life.
https://www.gnu.org/


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2017-02-21 Thread Sander
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=2m" "mode=1777"]; }]
> (adopt to your liking)

or

boot.tmpOnTmpfs = true;

in configuration.nix ?

Sander
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2017-02-21 Thread Marc Weber
> 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=2m" "mode=1777"]; }]
(adopt to your liking)
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2017-02-21 Thread Shea Levy
Yes, just ensure that TMPDIR for nix (or, if using the daemon, the
nix-daemon) is on the filesystem of your choice.

Matthias Beyer  writes:

> Hi,
>
> is it possible to set Nix to compile in a RAMFS? If yes, how to do this?
>
> -- 
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
>
> Consider switching to free software.
> It adds value to your life.
> https://www.gnu.org/
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2017-02-21 Thread Matthias Beyer
Hi,

is it possible to set Nix to compile in a RAMFS? If yes, how to do this?

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Consider switching to free software.
It adds value to your life.
https://www.gnu.org/


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev