From ee1c240a5fe009db0bdc859fef8084c4d659bbd8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 17 Jul 2024 00:24:59 -0400 Subject: [PATCH] secrets: add transmission secret mauville: add transmission credentialswith agenix secrets/transmission: update secres/transmission: require auth secres/transmission: require auth --- hosts/mauville/default.nix | 4 ++++ secrets/secrets.nix | 1 + secrets/transmission.age | Bin 0 -> 1408 bytes 3 files changed, 5 insertions(+) create mode 100644 secrets/transmission.age diff --git a/hosts/mauville/default.nix b/hosts/mauville/default.nix index 7afdc3c5..1fe8c5e6 100644 --- a/hosts/mauville/default.nix +++ b/hosts/mauville/default.nix @@ -46,6 +46,8 @@ in { syncthingCert.file = ../../secrets/syncthing/mauville/cert.age; syncthingKey.file = ../../secrets/syncthing/mauville/key.age; + + transmission.file = ../../secrets/transmission.age; }; boot = { @@ -116,6 +118,8 @@ in { enable = true; openFirewall = true; }; + + transmission.credentialsFile = config.age.secrets.transmission.path; }; environment.variables.GDK_SCALE = "1.25"; diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 8636120d..8b5de435 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -37,5 +37,6 @@ in { "syncthing/rustboro/cert.age".publicKeys = keys; "syncthing/rustboro/key.age".publicKeys = keys; "tailscale/authKeyFile.age".publicKeys = keys; + "transmission.age".publicKeys = keys; "wifi.age".publicKeys = keys; } diff --git a/secrets/transmission.age b/secrets/transmission.age new file mode 100644 index 0000000000000000000000000000000000000000..30fe1aa214c7a3537be4848c7b3b2028b5b0faf8 GIT binary patch literal 1408 zcmZXU+pp6E9LE(SCNt^-Jczzb2@hl*c4@nILX2JS>w0=yyLAN2*4x^3Yu9dFTQw(M z03$&k5T797XkyUBs6<0zf}RI*BqlyVLoP`hTNL(%hRLg{{wph`K ztOwN6RP!B^5ZJ=V?FaRsCxqZeTGH*!K{TJRLCXLH&5{jFmq^=E8m5X$tmVPZgsKFD z30J*DcZRBx!x6Vg^+vTIW*mMRL-JN{m9%B-g06)pcL5hT(dY_P7Maa6@b%xy~?ZiTwnj<7DD;e%2K+m+OvtE+)`e zSem4iIOPKnLi{^uI!qL8F`v?XdPKN3MAsZ4#@elVPYT*io~jYu88Zk}Rsx%Pjo^n! zj`Kx82$6bmAmdca;9yB=sMsv5;i*Y<0;ld2X@+da^)9#3jj;!;C+5R$b*4>3AW`ki zibm72IMx+n)bDZ_r?73>Xz)S>Yn9umlItR|ZGjyMw_S41HVBMoG~KSIy(Z*9ltySJ zZRX+~iplQSWO>v9!Fj%Ejmy68jbSjUvVnyxMm*gubfI|-hutY{HxQrJ6@6m6XwD(z zxlGg3kqH^Fk)d#<&<|Ykd0zOk^ z)m8#AojKj8FBwI5Dq&@AQUWBm!sMzjF_B4~>+^-dsA!uiK_vlQ5o1gt;sS{n;rbz_ zvEyRvB^MU*NjipWaW@<%c;r>9Wa!6yp*!pu{-Q}tN=1s3%hik+8Znr=a^a85dF0ct zm#)GOW-qQm-@dx%+(+c^Zh7n5FWi3qv+v+DTcrCx+_mHA+5N}fSlI_Y`crb!dh+pGCsvN6 zn|@gRg8X1Bac%P|@a024`b!Jkzu?Vn2afN*^vYLj>ZQZ!sh1AgTUP#hclo)U_boTJ q-TQapY5)7%JJdth4