Removed ssh object. Removed obligatory users array

This commit is contained in:
Illia Chub 2021-11-16 09:41:12 +02:00
parent cdcf935514
commit d3bbd948e1
No known key found for this signature in database
GPG key ID: 5D3581534C02467A

View file

@ -161,19 +161,7 @@ cat > /etc/nixos/userdata/userdata.json << EOF
},
"timezone": "Europe/Uzhgorod",
"resticPassword": "$PASSWORD",
"ssh": {
"enable": true,
"rootSshKeys": [
"ssh-ed25519 KEY user@host"
],
"passwordAuthentication": true
},
"username": "$USERNAME",
"users": [
{
}
]
"username": "$LUSER"
}
EOF
}