mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:06:51 +01:00
Use updated settings names
This commit is contained in:
parent
3c816a3620
commit
5dd2fb403d
1 changed files with 6 additions and 4 deletions
|
@ -12,10 +12,12 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = false;
|
settings = {
|
||||||
kbdInteractiveAuthentication = false;
|
X11forwarding = true;
|
||||||
settings.X11forwarding = true;
|
PermitRootLogin = "yes";
|
||||||
settings.PermitRootLogin = "yes";
|
passwordAuthentication = false;
|
||||||
|
kbdInteractiveAuthentication = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [ sshfs ];
|
environment.systemPackages = with pkgs; [ sshfs ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue