configuration: users: disallow mutable users

This commit is contained in:
Bruno BELANYI 2021-02-04 18:26:52 +01:00
parent 7ca077adf7
commit f766d093e2

View file

@ -47,6 +47,8 @@
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
users.mutableUsers = false; # I want it to be declarative.
# Define user accounts and passwords. # Define user accounts and passwords.
users.users.root.hashedPassword = lib.fileContents ./secrets/users/root/password.txt; users.users.root.hashedPassword = lib.fileContents ./secrets/users/root/password.txt;
users.users.ambroisie = { users.users.ambroisie = {