nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.13k stars 1.84k forks source link

mu: run initialization command when personal addresses change #6100

Open VojtechStep opened 4 days ago

VojtechStep commented 4 days ago

Description

When the user changes which addresses mu should consider 'personal', mu's store should be reinitialized.

After this change, the activation script parses the previously configured list of addresses and compares it with the new one. If they differ, it runs the init command even when the store has already been initialized.

I got a "bash: Argument list too long" error when trying to run all tests, but I tested the change with TEST=mu-basic-configuration make test

Checklist

Maintainer CC

@KarlJoad