NiXium-org / NiXium

Open-Source Infrastructure as Code Management Solution for Multiple Systems designed to be reliable in mission-critical tasks on paranoid and high-security environment.
European Union Public License 1.2
25 stars 3 forks source link

Clean the /tmp directory on System Startup #94

Open Tanvir1337x opened 4 months ago

Tanvir1337x commented 4 months ago

Title

Implement clear_tmp Functionality in NixOS.

Description

Implement a feature in NixOS to clean the /tmp filesystem on system startup, akin to the clear_tmp option in FreeBSD. This would ensure a fresh and secure temporary directory environment upon boot.

https://github.com/NiXium-org/NiXium/issues/67

Kreyren commented 4 months ago

Doesn't linux do this by itself already? At least NiXium already does this via impermanence, but i guess we could implement some additional management as our impermanence is designed to be switchable on demand.