This repository has no description
439 B
15 lines
1{ self, pkgs, ... }:
2{
3 imports = [
4 (self.inputs.stockholm + "/krebs/2configs/hotdog-host.nix")
5 ];
6 clanCore.secrets.hotdog-container = {
7 secrets."hotdog.sync.key" = { };
8 facts."hotdog.sync.pub" = { };
9 generator.path = with pkgs; [ coreutils openssh ];
10 generator.script = ''
11 ssh-keygen -t ed25519 -N "" -f "$secrets"/hotdog.sync.key
12 mv "$secrets"/hotdog.sync.key "$facts"/hotdog.sync.pub
13 '';
14 };
15}