Use manzil.nixosModules.default and declare users under
manzil.users. Enabled Manzil users must also exist under
users.users.
Use manzil.darwinModules.default and declare users under
manzil.users. Enabled Manzil users must also exist under
users.users.
Common options include:
filesxdg.cache.filesxdg.config.filesxdg.data.filesxdg.state.filesxdg.mime-appspackagesenvironment.sessionVariablesenvironment.loadEnv is generated for you, but not
sourced automatically.
Managed files can be created from:
textsourcegenerator + valueOn NixOS, Manzil can generate user units under
~/.config/systemd/user from the per-user
systemd options. restartTriggers and
reloadTriggers on generated units are respected during
manifest activation, so units only bounce when their trigger payloads
actually change.
Manifest mode emits contracts.target_root and
contracts.source_roots into generated manifests. The
bundled linker validates those contracts both when loading the manifest
and again against resolved runtime paths before applying changes.