modules/browsers: remove ssh x11 forwarding to fix keyboard layout
This commit is contained in:
parent
292fc5930f
commit
9c7be1d64e
1 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@ let
|
|||
if [ -z "$(ssh-keygen -F $host)" ]; then
|
||||
ssh-keyscan -H $host >> ~/.ssh/known_hosts
|
||||
fi
|
||||
ssh -X -o PubkeyAuthentication=no kira@$host $@
|
||||
ssh -o PubkeyAuthentication=no kira@$host $@
|
||||
'';
|
||||
|
||||
hostBrowserScript = pkgs.writeScriptBin "${p.meta.mainProgram}" ''
|
||||
|
@ -82,6 +82,7 @@ in
|
|||
|
||||
bindMounts = lib.mkMerge [
|
||||
{
|
||||
"/tmp/.X11-unix" = {};
|
||||
"/etc/ssh/keys" = {
|
||||
isReadOnly = false;
|
||||
hostPath = "/persistence/per-machine/browsers/etc/ssh/keys";
|
||||
|
@ -117,7 +118,6 @@ in
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
X11Forwarding = true;
|
||||
PasswordAuthentication = true;
|
||||
MaxAuthTries = 1;
|
||||
};
|
||||
|
@ -143,6 +143,7 @@ in
|
|||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
DISPLAY = ":0";
|
||||
PULSE_SERVER = "tcp:${hostAddress}:4713";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue