This repository has no description
0

Configure Feed

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

machines.ignavia: add spora config

+25
+24
2configs/spora.nix
··· 1 + { self, config, pkgs, ... }: 2 + { 3 + imports = [ 4 + self.inputs.spora.nixosModules.spora 5 + ]; 6 + services.mycelium.keyFile = config.clanCore.secrets.mycelium.secrets.mycelium_key.path; 7 + clanCore.secrets.mycelium = { 8 + secrets."mycelium_key" = { }; 9 + facts."mycelium_ip" = { }; 10 + facts."mycelium_pubkey" = { }; 11 + generator = { 12 + path = [ 13 + self.packages.${pkgs.system}.mycelium 14 + pkgs.coreutils 15 + pkgs.jq 16 + ]; 17 + script = '' 18 + timeout 5 mycelium --key-file "$secrets"/mycelium_key || : 19 + mycelium inspect --key-file "$secrets"/mycelium_key --json | jq -r .publicKey > "$facts"/mycelium_pubkey 20 + mycelium inspect --key-file "$secrets"/mycelium_key --json | jq -r .address > "$facts"/mycelium_ip 21 + ''; 22 + }; 23 + }; 24 + }
+1
machines/ignavia/config.nix
··· 27 27 ../../2configs/yggdrasil.nix 28 28 ../../2configs/container-tests.nix 29 29 ../../2configs/sunshine.nix 30 + ../../2configs/spora.nix 30 31 # ../../2configs/print.nix 31 32 # ../../2configs/br.nix 32 33 # ../../2configs/c-base.nix