nixpkgs/nixos/modules/system/boot
John Titor f597c68e7b
nixos/boot/systemd: enable tracefs
tracefs is a special-purpose filesystem in Linux used for tracing filesystem and kernel operations.

This was added to the kernel back in 2015 to replace debugfs. For security reasons, some system do not mount debugfs at all. Tracefs reduces the attack surface by allowing to trace without mounting debugfs. Additionally it provides features not supported by debugfs (such as calls for mkdir and rmdir

Debian and Arch Linux both enable this by default.
RHEL 8 and later, they enable tracefs by default.

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-10 22:27:41 +05:30
..
loader Merge master into staging-next 2025-02-19 18:04:49 +00:00
systemd nixos/doc: convert links to manpages 2025-02-21 16:31:09 +01:00
binfmt.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
clevis.md
clevis.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
emergency-mode.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
grow-partition.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
initrd-network.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
initrd-openvpn.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
initrd-ssh.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
kernel.nix various: remove left-over rtc_cmos rootModule 2024-11-26 22:02:46 +01:00
kernel_config.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
kexec.nix
luksroot.nix nixos/luksroot: Check if the device was opened while reading password (#369627) 2025-01-12 14:25:08 +01:00
modprobe.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
networkd.nix nixos/networkd: add new options introduced in systemd 257 2025-02-17 21:51:40 +00:00
pbkdf2-sha512.c
plymouth.nix nixos/plymouth: Respect plymouth.enable=0 in scripted stage 1 2024-12-30 13:06:00 -05:00
resolved.nix Make systemd-resolved's config file a reload trigger 2025-01-08 13:38:04 -05:00
shutdown.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
stage-1-init.sh
stage-1.nix various: replace substituteAll with replaceVarsWith 2024-12-15 13:35:30 +01:00
stage-2-init.sh stage-2-init: fix false positives for RO Nix store mounts 2025-01-20 00:27:18 -08:00
stage-2.nix various: replace substituteAll with replaceVarsWith 2024-12-15 13:35:30 +01:00
stratisroot.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
systemd.nix nixos/boot/systemd: enable tracefs 2025-03-10 22:27:41 +05:30
timesyncd.nix nixos/doc: convert links to manpages 2025-02-21 16:31:09 +01:00
tmp.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
uki.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
unl0kr.nix pkgs/unl0kr: superseded by pkgs.buffybox 2024-12-23 19:07:26 -05:00
uvesafb.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00