- I couldn't for the life of me write a consistent passwordless way to login users in tests. If I set the
password
property in Nix to empty, then I can't do it withpasswd
from the testing library. If I remove it withpasswd -d
in the testing library, I can't do it in Nix. I could set it to empty with Nix and then remove it from/etc/shadow
in the testing library but it feels like too much effort... For now, I just set it topassword
- I'm migrating modules from the
services
namespace tomachines
. If I override a module in NixOS (usingdisabledModules
) a lot of problems ensue. So I prefer not to collide with these and put mine undermachines
. I guess I'll keep a few onservices
, only those that are independent from specific machines instantiations - My machines don't really use derivations...
wallabag
for example just clones the official repository and then installs it. This is less deterministic, however, it seems like installation writes to the installation directory and thus is unsuitable for the read-only nix store.