[General]: Update configuration to NixOS 23.05 beta

This commit is contained in:
Antoine Viallon 2023-05-25 11:38:51 +02:00
parent 786727693f
commit e7f7c9a669
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
9 changed files with 46 additions and 27 deletions

View file

@ -48,8 +48,10 @@ in {
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
permitRootLogin = mkDefault "prohibit-password";
forwardX11 = mkDefault config.services.xserver.enable;
settings = {
X11Forwarding = mkDefault config.services.xserver.enable;
PermitRootLogin = mkDefault "prohibit-password";
};
openFirewall = true;
startWhenNeeded = true;
};