feature: ssh now only runs when needed
This commit is contained in:
parent
70d00329c9
commit
83c680d36a
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
|
startWhenNeeded = true;
|
||||||
};
|
};
|
||||||
security = {
|
security = {
|
||||||
sudo.execWheelOnly = true;
|
sudo.execWheelOnly = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue