mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[General]: Update configuration to NixOS 23.05 beta
This commit is contained in:
parent
786727693f
commit
e7f7c9a669
9 changed files with 46 additions and 27 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue