Fix eval
This commit is contained in:
parent
d3b72230c9
commit
3e6512cd28
|
@ -158,6 +158,7 @@
|
||||||
url = "git+https://gitea.c3d2.de/astro/ticker.git";
|
url = "git+https://gitea.c3d2.de/astro/ticker.git";
|
||||||
inputs = {
|
inputs = {
|
||||||
fenix.follows = "fenix";
|
fenix.follows = "fenix";
|
||||||
|
# causes build failure
|
||||||
# naersk.follows = "naersk";
|
# naersk.follows = "naersk";
|
||||||
nixpkgs.follows = "nixos";
|
nixpkgs.follows = "nixos";
|
||||||
utils.follows = "flake-utils";
|
utils.follows = "flake-utils";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ zentralwerk, config, hostRegistry, pkgs, ... }:
|
{ zentralwerk, config, hostRegistry, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
systemctl = "${pkgs.systemd}/bin/systemctl";
|
systemctl = "${pkgs.systemd}/bin/systemctl";
|
||||||
deployCommand = "${systemctl} start deploy-c3d2-dns";
|
deployCommand = "${systemctl} start deploy-c3d2-dns";
|
||||||
|
@ -95,7 +95,7 @@ in
|
||||||
script = ''
|
script = ''
|
||||||
mkdir -p .ssh
|
mkdir -p .ssh
|
||||||
cp ${builtins.toFile "id_ed25519" sshPrivkey} .ssh/id_ed25519
|
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
|
chmod 0600 .ssh/id_ed25519
|
||||||
|
|
||||||
# Build at least once
|
# Build at least once
|
||||||
|
|
Loading…
Reference in New Issue
Block a user