Add userdata settings protection

This commit is contained in:
inex 2021-11-18 21:49:30 +02:00
parent a52e3105d0
commit 45ad07eca6

View file

@ -64,6 +64,7 @@ makeConf() {
"username": "$LUSER"
}
EOF
chmod 0600 /etc/nixos/userdata/userdata.json
if isEFI; then
bootcfg=$(cat << EOF