Remove root pw in container
This commit is contained in:
parent
b23b3419c3
commit
c696837130
2 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,6 @@ in {
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
users.root = {
|
users.root = {
|
||||||
openssh.authorizedKeys.keys = me.keys;
|
openssh.authorizedKeys.keys = me.keys;
|
||||||
passwordFile = me.pw-file;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,5 +13,8 @@ in {
|
||||||
openssh.authorizedKeys.keys = me.keys;
|
openssh.authorizedKeys.keys = me.keys;
|
||||||
passwordFile = me.pw-file;
|
passwordFile = me.pw-file;
|
||||||
};
|
};
|
||||||
|
root = {
|
||||||
|
passwordFile = me.pw-file;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue