https://github.com/kirelagin/nixos-init
[VERY WIP] Look, I added systemd to your initramfs! It’s so much better now!
https://github.com/kirelagin/nixos-init
initramfs nixos systemd
Last synced: 9 months ago
JSON representation
[VERY WIP] Look, I added systemd to your initramfs! It’s so much better now!
- Host: GitHub
- URL: https://github.com/kirelagin/nixos-init
- Owner: kirelagin
- Created: 2019-11-01T00:24:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T21:08:12.000Z (about 6 years ago)
- Last Synced: 2025-08-01T17:46:45.095Z (11 months ago)
- Topics: initramfs, nixos, systemd
- Language: Nix
- Homepage:
- Size: 14.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSES/CC-BY-SA-4.0.txt
Awesome Lists containing this project
README
# systemd-based initramfs for NixOS

This is an experimental attempt to reimplement the stage-1 initramfs of NixOS
so that it is managed by systemd rather than boring shell scripts.
## Use
* Currently the primary way of building this initramfs is just `nix-build` in the
root of the repository.
* But it is also possible to import the modules from this repository into
your regular NixOS config and build it normally:
```nix
# /etc/nixos/configuration.nix
{
imports = [
# ... other imports ...
]
++ import /path/to/nixos-init/modules/module-list.nix;
# ...
}
```