22.11 fixup
This commit is contained in:
@@ -181,7 +181,8 @@ in {
|
||||
git gh hub
|
||||
micro
|
||||
]) ++ (let
|
||||
shell = import "${inputs.pbsds-papers}/shell.nix" { inherit pkgs; };
|
||||
#shell = import "${inputs.pbsds-papers}/shell.nix" { inherit pkgs; };
|
||||
shell = inputs.pbsds-papers.devShells.${pkgs.system}.default;
|
||||
in
|
||||
(with pkgs; [ imagemagick librsvg ]) # for some reason it isn't picked up from from shell.nix?
|
||||
++ shell.buildInputs
|
||||
@@ -206,6 +207,13 @@ in {
|
||||
#proxyPass = "http://10.240.100.3:${toString container.services.code-server.port}";
|
||||
proxyPass = "http://${config.containers.${container-name}.localAddress}:${toString container.services.code-server.port}";
|
||||
proxyWebsockets = true;
|
||||
# https://github.com/coder/code-server/issues/4443
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection upgrade;
|
||||
proxy_set_header Accept-Encoding gzip;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user