This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / machines / radio / config.nix
867 B 37 lines
1{ config, pkgs, ... }: 2{ 3 imports = [ 4 ../../2configs 5 ../../2configs/retiolum.nix 6 ../../2configs/syncthing.nix 7 ../../2configs/services/radio 8 ]; 9 10 clan.password-store.targetDirectory = "/var/state/secrets"; 11 12 krebs.build.host = config.krebs.hosts.radio; 13 system.stateVersion = "24.05"; 14 15 security.acme = { 16 acceptTerms = true; 17 defaults.email = "acme@lassul.us"; 18 }; 19 20 krebs.sync-containers3.inContainer = { 21 enable = true; 22 pubkey = builtins.readFile ./facts/radio.sync.pub; 23 }; 24 25 clanCore.facts.services.radio-container = { 26 secret."radio.sync.key" = { }; 27 public."radio.sync.pub" = { }; 28 generator.path = with pkgs; [ 29 coreutils 30 openssh 31 ]; 32 generator.script = '' 33 ssh-keygen -t ed25519 -N "" -f "$secrets"/radio.sync.key 34 mv "$secrets"/radio.sync.key "$facts"/radio.sync.pub 35 ''; 36 }; 37}