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,8 +47,10 @@
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
users.mutableUsers = false; # I want it to be declarative.
# 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 = {
hashedPassword = lib.fileContents ./secrets/users/ambroisie/password.txt;
description = "Bruno BELANYI";