Fixed variables naming

This commit is contained in:
Illia Chub 2021-02-02 05:12:46 +02:00
parent f88bc0e6fe
commit 30cf182619

View file

@ -120,7 +120,7 @@ makeConf() {
}; };
users.mutableUsers = false; users.mutableUsers = false;
users.users = { users.users = {
"$USER" = { "$LUSER" = {
isNormalUser = true; isNormalUser = true;
hashedPassword = "$HASHED_PASSWORD"; hashedPassword = "$HASHED_PASSWORD";
}; };
@ -202,7 +202,7 @@ EOF
# A list of all login accounts. To create the password hashes, use # A list of all login accounts. To create the password hashes, use
# mkpasswd -m sha-512 "super secret password" # mkpasswd -m sha-512 "super secret password"
loginAccounts = { loginAccounts = {
"$USER@$DOMAIN" = { "$LUSER@$DOMAIN" = {
hashedPassword = "$HASHED_PASSWORD"; hashedPassword = "$HASHED_PASSWORD";
#aliases = [ #aliases = [
@ -230,7 +230,7 @@ EOF
# loginAccounts addresses. # loginAccounts addresses.
extraVirtualAliases = { extraVirtualAliases = {
# address = forward address; # address = forward address;
"admin@$DOMAIN" = "$USER@$DOMAIN"; "admin@$DOMAIN" = "$LUSER@$DOMAIN";
}; };
# Use Let's Encrypt certificates. Note that this needs to set up a stripped # Use Let's Encrypt certificates. Note that this needs to set up a stripped
@ -262,7 +262,7 @@ EOF
}; };
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
email = "$USER@$DOMAIN"; email = "$LUSER@$DOMAIN";
certs = { certs = {
"$DOMAIN" = { "$DOMAIN" = {
domain = "*.$DOMAIN"; domain = "*.$DOMAIN";