It would be nice if I didn’t have to do builtins.toString here. It’s kind of weird that you have to represent this particular path as a string because the Nix expression language already has a data type specifically for paths.
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Issue description
At the moment,
users.users.<name>.hashedPasswordFile
has to be set to eithernull
or astring
:As a result, I end up doing this in my config:
It would be nice if I didn’t have to do
builtins.toString
here. It’s kind of weird that you have to represent this particular path as a string because the Nix expression language already has a data type specifically for paths.Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.