WIP: feat: declarative user management #13

Draft
bram.buijs wants to merge 1 commit from bram.buijs/DAWO-NixOS:pr-users into main
Collaborator

Adds users-hardened (opt-in, mutableUsers = false) for fully declarative,
no-drift users, as discussed in #9.

docs/users.md documents the workflow: one module per user under
modules/users, hosts import the users they have, and passwords come from
agenix (hashedPasswordFile) instead of plaintext hashes in git. agenix is
already wired via the environment module.

users-hardened is opt-in because it's lockout-risk, every login user needs a
hashedPasswordFile/hashedPassword first (see docs/users.md). users-dawo is
left unchanged.

Evaluates green.

Build/deploy proof to follow: verifying on a Lenovo T495s before merge.

Adds `users-hardened` (opt-in, `mutableUsers = false`) for fully declarative, no-drift users, as discussed in #9. `docs/users.md` documents the workflow: one module per user under `modules/users`, hosts import the users they have, and passwords come from agenix (`hashedPasswordFile`) instead of plaintext hashes in git. agenix is already wired via the environment module. `users-hardened` is opt-in because it's lockout-risk, every login user needs a `hashedPasswordFile`/`hashedPassword` first (see docs/users.md). `users-dawo` is left unchanged. Evaluates green. Build/deploy proof to follow: verifying on a Lenovo T495s before merge.
Add users-hardened (opt-in, mutableUsers=false) for fully declarative, no-drift users. docs/users.md documents the workflow: one module per user under modules/users, hosts import the users they have, and passwords come from agenix (hashedPasswordFile) instead of plaintext hashes in git. agenix is already wired via the environment module.
docs/users.md Outdated
@ -0,0 +1,67 @@
# Users: declaratief beheer (gitops)
Collaborator

Needs translation

Needs translation
bram.buijs marked this conversation as resolved
Author
Collaborator

@rutger.putter Translated :)

@rutger.putter Translated :)
rutger.putter changed title from feat: declarative user management to WIP: feat: declarative user management 2026-06-22 08:45:04 +00:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u pr-users:bram.buijs-pr-users
git switch bram.buijs-pr-users
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MinBZK/DAWO-NixOS!13
No description provided.