forked from hacc/haccfiles
common: allow x forwarding
This commit is contained in:
parent
4fae006a64
commit
322d63dd45
1 changed files with 9 additions and 6 deletions
|
@ -31,12 +31,15 @@ in {
|
||||||
nix.trustedUsers = [ "root" "@wheel" ];
|
nix.trustedUsers = [ "root" "@wheel" ];
|
||||||
environment.variables.EDITOR = "vim";
|
environment.variables.EDITOR = "vim";
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
services.openssh.ports = lib.mkDefault [ 62954 ];
|
enable = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
ports = lib.mkDefault [ 62954 ];
|
||||||
services.openssh.challengeResponseAuthentication = false;
|
passwordAuthentication = false;
|
||||||
services.openssh.permitRootLogin = lib.mkDefault "prohibit-password";
|
challengeResponseAuthentication = false;
|
||||||
services.openssh.extraConfig = "StreamLocalBindUnlink yes";
|
permitRootLogin = lib.mkDefault "prohibit-password";
|
||||||
|
extraConfig = "StreamLocalBindUnlink yes";
|
||||||
|
forwardX11 = true;
|
||||||
|
};
|
||||||
security.sudo.wheelNeedsPassword = lib.mkDefault false;
|
security.sudo.wheelNeedsPassword = lib.mkDefault false;
|
||||||
|
|
||||||
i18n.defaultLocale = "en_IE.UTF-8";
|
i18n.defaultLocale = "en_IE.UTF-8";
|
||||||
|
|
Loading…
Reference in a new issue