Skip to content

Conversation

@JulienMalka
Copy link

@JulienMalka JulienMalka commented Sep 15, 2025

We support sops-nix secrets!

This depends on a number of other changes including #266, so this is not ready.

I am bringing sops-nix as a flake input for the sake of testing, I don't know how we feel about that.

I had to add the dependency to sysinit-reactivation.target to the sops-nix systemd unit, I think we should contribute that upstream, otherwise users will trip on it.

jfroche and others added 3 commits August 22, 2025 11:27
Eval works.

Work done until now:

- add missing `system.etc` and `systemd.sysusers` options.
- vendored nixpkgs/nixos/modules/config/users-groups.nix and comment `boot.initrd`
and `environment.profiles` configs.
- import user ids and userborn modules from nixpkgs.

Currently failing on:

vm-test> [2025-08-26T09:45:23Z INFO  system_manager::activate::etc_files] Done
vm-test> [2025-08-26T09:45:23Z INFO  system_manager::activate] Activating tmp files...
vm-test> /etc/tmpfiles.d/home-directories.conf:1: Failed to resolve user 'zimbatm': No such process

Most probably because we don't create the users/group before trying to create tmpfiles.

This PR is based on #258
because `user-groups.nix` and `userborn.nix` depend on
`system.activationScripts`.
@JulienMalka JulienMalka marked this pull request as draft September 15, 2025 08:51
@JulienMalka JulienMalka changed the base branch from main to users September 15, 2025 09:02
@jfroche jfroche force-pushed the secrets branch 4 times, most recently from a93da6e to a9d482e Compare September 16, 2025 10:19
@zimbatm zimbatm added this to the First release milestone Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants