From 2584be6235e938700c7d6b498f56c48f53c7c0b1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 5 Dec 2023 13:59:21 +0100 Subject: [PATCH] services: setup microbin service --- hosts/hades/default.nix | 6 ++ hosts/hades/secrets.nix | 2 + modules/secrets/microbin/secret-config.age | Bin 0 -> 522 bytes modules/secrets/secrets.nix | 2 + services/default.nix | 1 + services/microbin.nix | 79 +++++++++++++++++++++ 6 files changed, 90 insertions(+) create mode 100644 modules/secrets/microbin/secret-config.age create mode 100644 services/microbin.nix diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index deaa941..0cb891b 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -76,6 +76,12 @@ in { secretConfigFile = config.age.secrets."matrix-synapse/secret-config".path; }; + microbin = { + enable = true; + privatePort = 8088; + passwordFile = config.age.secrets."microbin/secret-config".path; + }; + miniflux = { enable = true; adminCredentialsFile = config.age.secrets."miniflux/admin-credentials".path; diff --git a/hosts/hades/secrets.nix b/hosts/hades/secrets.nix index 9f5b3c9..23b2cdb 100644 --- a/hosts/hades/secrets.nix +++ b/hosts/hades/secrets.nix @@ -21,6 +21,8 @@ owner = "matrix-synapse"; }; + "microbin/secret-config" = {}; + "miniflux/admin-credentials" = {}; "nextcloud/admin-pass" = { diff --git a/modules/secrets/microbin/secret-config.age b/modules/secrets/microbin/secret-config.age new file mode 100644 index 0000000000000000000000000000000000000000..e8750049724605d4109bab269aa83e5506ab3e77 GIT binary patch literal 522 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCU7HcI!%DpxQtE_L)Z za(7NO4hZzkN^#9gw3C|$uPH_*?-G2PwSE#1=C zBEUJRAT7l#)yLA<-?Y>_!re6^(6z8EG{`AA!k4Qo*+|=^*f%7!#66|7JUb}OFE1sx zAT-Ct*ex{6P~Xz9IIqAZwa`pk+Y@A)Rz!hos-~L1ZhBE_VsWZMrm?R>tf{s_Wt^TS zSGbd9zL%3_j)`Y+g`aV@M|OH?W@e?ffnk}kL19s31(&X_u0mO0mRV6sdTEH0TTWn! zXO@Y%Z;5fLd1{(tdbx?ec~XXXPPl7WMnz__FPGNh_m5N~ImIt6^Z)N}AM<(I7sJ=v zZ%Ii!n~}4m{h93t5lxXJzV-9xS_|r@-JN@hBi_8I z?x4h^>!)V03)DVJGV_*8Oqjm#_mWwwpSR|g{}GVNyW#P(GSkFz!TP>{MGv=HX!T89 zvB&u9Hu3rL6Y`Iih&vqFpC$9%Vb+cXE|FIbPCat4^wF&c`