You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of how the tmp mount is defined (it is shipped with systemd), we are unable to configure the mounting of tmpfs without disabling boot.tmpOnTmpfs and providing a custom systemd.mounts. I've been able to do this here:
Enable tmpOnTmpfs.
Check systemctl cat tmp.mount.
tmp.mount is labelled as shipped with systemd and therefore not something configurable within nixos.
tmp.mount has options listed but no way to change them.
Technical details
System: 16.03.581.e409886
Nix version: nix-env (Nix) 1.11.2
Nixpkgs version: 16.03.581.e409886
The text was updated successfully, but these errors were encountered:
Perhaps the syntax could be made nicer (if systemd.mounts accepted a set with where as the key, and what were made optional, we could just write systemd.mounts."/tmp".options = "1777,strictatime,nosuid,nodev,size=30%";).
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Search for maintainers and people that previously touched the related code and @ mention them in a comment.
Issue description
Because of how the tmp mount is defined (it is shipped with systemd), we are unable to configure the mounting of tmpfs without disabling boot.tmpOnTmpfs and providing a custom systemd.mounts. I've been able to do this here:
https://gist.github.com/sheenobu/09947df2480e693161d3b3d83daddd49
Should the tmp.mount systemd unit be generated like above within the nixos config / https://github.com/NixOS/nixpkgs/blob/32b7b0009f168cb7e020d297c2f336ef352e9ec1/nixos/modules/system/boot/tmp.nix ?
Steps to reproduce
Enable tmpOnTmpfs.
Check systemctl cat tmp.mount.
tmp.mount is labelled as shipped with systemd and therefore not something configurable within nixos.
tmp.mount has options listed but no way to change them.
Technical details
The text was updated successfully, but these errors were encountered: