Add jupiter wireguard server

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-06-26 09:16:24 +01:00
parent d617183438
commit 84a5ff6fd4
6 changed files with 1416 additions and 1 deletions

View File

@@ -1,11 +1,22 @@
{ pkgs, ... }:
let
# FIXME: https://github.com/traefik/traefik/issues/4881
traefik = pkgs.traefik.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [
(builtins.fetchurl {
url = "https://github.com/traefik/traefik/commit/e877a94b2a759b93fc886cba53f5fa9bc1e973ed.patch";
sha256 = "sha256:178s4m2jnvr081slvgv48b6g4sispfwj2k7mfwskcyry1g2nbfvb";
})
];
});
in
pkgs.dockerTools.buildImage {
name = "traefik";
fromImage = import ../base { inherit pkgs; };
copyToRoot = pkgs.buildEnv {
name = "root";
paths = with pkgs; [ traefik ];
paths = [ traefik ];
pathsToLink = [ "/bin" ];
};