22.11 fixup

This commit is contained in:
2023-06-11 09:36:00 +02:00
parent 759cdbbddd
commit 786c3efd41
4 changed files with 84 additions and 40 deletions

View File

@@ -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;
'';
};
};