modules/darwin/common: add some ssh settings
This commit is contained in:
parent
a0f5debd42
commit
9fe659f34a
1 changed files with 9 additions and 0 deletions
|
@ -51,6 +51,15 @@ in
|
||||||
htop
|
htop
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# srvos
|
||||||
|
services.openssh.authorizedKeysFiles = pkgs.lib.mkForce [ "/etc/ssh/authorized_keys.d/%u" ];
|
||||||
|
|
||||||
|
# srvos
|
||||||
|
environment.etc."ssh/sshd_config.d/darwin.conf".text = ''
|
||||||
|
KbdInteractiveAuthentication no
|
||||||
|
PasswordAuthentication no
|
||||||
|
'';
|
||||||
|
|
||||||
# works but displays error message during activation
|
# works but displays error message during activation
|
||||||
# https://github.com/LnL7/nix-darwin/issues/359
|
# https://github.com/LnL7/nix-darwin/issues/359
|
||||||
# sudo systemsetup -settimezone 'GMT'
|
# sudo systemsetup -settimezone 'GMT'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue