Skip to main content

What maps to what

pm tree (removed)NixOSNotes
recipes/10-systemd/linux, losos.confignixpkgs' kernel, hardware.nixnixpkgs' common-config.nix already sets what systemd needs, CONFIG_HIDRAW included. zswap is built in and off, and boot.zswap.enable turns it on
recipes/10-systemd/nvidia-opennvidia.nix: nixpkgs' NVIDIA open module and userspacechosen per machine at boot from nixos-facter's report; older cards keep nouveau and NVK (Hardware and NVIDIA)
recipes/00-* through 30-gnome, manifest/, share/nixpkgsevery package the recipes built. Their build-system patches existed only for the CFI toolchain
recipes/30-gnome/gnome-control-center patchesnixos/pkgs/patches/gnome-control-center/kept and not applied, see What is not done
recipes/90-image/losos-image (mkosi), plugins/nixos/modules/image.nix (image/repart.nix)the same systemd-repart; no fingerprint table to get past, so no plugins
mkuki.py, files/cmdlineboot.uki, verity-store modulethe UKI carries usrhash=
overlay/usr/lib/repart.d/systemd.repart.partitions in disk.nixruns in the initrd, as before
overlay/usr/lib/sysupdate.d/systemd.sysupdate.transfers in update.nixUKI plus both /usr halves
overlay/usr/lib/repart.sysinstall.d/, systemd-sysinstallinstaller.nix, nixos/installer/see The installer
overlay/usr/lib/systemd/system-preset/10-losos.presetthe module options themselveson NixOS a unit is enabled by being wanted, not by a preset
overlay/usr/lib/sysusers.d/losos.confsystemd.sysusers.enable over users.usersthe upstream tool, not NixOS's perl script
overlay/usr/lib/tmpfiles.d/losos.confsystemd.tmpfiles.settings in services.nix
overlay/usr/lib/systemd/network/20-wired.networksystemd.network.networks."20-wired"same match and settings
overlay/etc/crypttab, overlay/etc/fstabenvironment.etc.crypttab, swapDevices
user@.service.d/10-oomd.confsystemd.oomd, systemd.slices.user
losos-security.service, its D-Bus filesservices.nixsame sandbox, line for line
50-losos-factory-reset.rulessecurity.polkit.extraConfig in disk.nixsame rule
losos-selftest.service, losos-ota-test.servicenothingno test booted with either; the selftest made an ordering cycle that could drop boot-complete.target, see nixos/modules/default.nix
recipes/10-core/losos-releasesystem.nixos.distroId, system.image.*NixOS writes os-release itself, with IMAGE_VERSION
manifest/architectures.yamllosos.arch in options.nixx86_64 and aarch64
tools/configure --version --channellosos.version, losos.channelthe flake derives the version from the commit date
tools/vm-testnixos/tests/boot.nixboots the real image under UEFI
tools/ gates, Containerfile, ./donix flake check, nix fmtthe gates checked generated recipes against pm's fingerprint table, and neither exists now
pm, the system managerpm, the system manager (pm.nix)the components/pm submodule