This commit is contained in:
Sandro - 2022-12-20 20:49:42 +01:00
parent d3b72230c9
commit 3e6512cd28
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 3 additions and 2 deletions

View File

@ -158,6 +158,7 @@
url = "git+https://gitea.c3d2.de/astro/ticker.git";
inputs = {
fenix.follows = "fenix";
# causes build failure
# naersk.follows = "naersk";
nixpkgs.follows = "nixos";
utils.follows = "flake-utils";

View File

@ -1,4 +1,4 @@
{ zentralwerk, config, hostRegistry, pkgs, ... }:
{ zentralwerk, config, hostRegistry, lib, pkgs, ... }:
let
systemctl = "${pkgs.systemd}/bin/systemctl";
deployCommand = "${systemctl} start deploy-c3d2-dns";
@ -95,7 +95,7 @@ in
script = ''
mkdir -p .ssh
cp ${builtins.toFile "id_ed25519" sshPrivkey} .ssh/id_ed25519
echo "gitea.c3d2.de ${(import ../ssh-public-keys.nix).hosts.gitea}" > .ssh/known_hosts
echo "gitea.c3d2.de ${lib.head (import ../../ssh-public-keys.nix).hosts.gitea}" > .ssh/known_hosts
chmod 0600 .ssh/id_ed25519
# Build at least once