# What's the difference between \`boot.initrd.luks.devices\` and \`fileSystems.\<name\>.encrypted\`?

**URL:** https://discourse.nixos.org/t/whats-the-difference-between-boot-initrd-luks-devices-and-filesystems-name-encrypted/18258
**Category:** Help
**Created:** [March 19, 2022, 12:19am UTC](https://discourse.nixos.org/t/whats-the-difference-between-boot-initrd-luks-devices-and-filesystems-name-encrypted/18258 "2022-03-19T00:19:21Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![ElvishJerricco](https://discourse.nixos.org/user_avatar/discourse.nixos.org/elvishjerricco/32/984_2.png) [@ElvishJerricco](https://discourse.nixos.org/u/ElvishJerricco)
#### Post date: [April 15, 2026, 3:04pm UTC](https://discourse.nixos.org/t/whats-the-difference-between-boot-initrd-luks-devices-and-filesystems-name-encrypted/18258/6 "2026-04-15T15:04:24Z")

</div>

> [@leoperegrino](#):
>
> I don’t know much about boot process, do you have any thoughts on the use of `boot.initrd.systemd`? Is it also an overload of the stage 1? Or am I misunderstanding?

As a person who did a very large percentage of the work creating `boot.initrd.systemd`, I sure do have opinions 😛

We recently [merged the PR to make systemd stage 1 the default](https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/128). It’s an alternate implementation of the entire NixOS initrd, and the consensus has been for a long time now that it’s a lot better than the scripted initrd. It’s a lot more flexible, it has a lot more features, and it benefits a lot more from functionality provided by upstream systemd.

---

_[View the full topic](https://discourse.nixos.org/t/whats-the-difference-between-boot-initrd-luks-devices-and-filesystems-name-encrypted/18258)._
