/tmp tmpfs is using the systemd upstream mount. #14777
Labels
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
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: