From bfeaa185307970aaebce43f2272b62b81269d50b Mon Sep 17 00:00:00 2001 From: sinavir Date: Wed, 22 May 2024 18:26:06 +0200 Subject: [PATCH] feat(signal-irc-bridge): init --- machines/compute01/_configuration.nix | 1 + machines/compute01/secrets/secrets.nix | 1 + .../secrets/signal-irc-bridge-config | 29 +++++++++++++++++++ machines/compute01/signal-irc-bridge.nix | 18 ++++++++++++ npins/sources.json | 11 +++++++ 5 files changed, 60 insertions(+) create mode 100644 machines/compute01/secrets/signal-irc-bridge-config create mode 100644 machines/compute01/signal-irc-bridge.nix diff --git a/machines/compute01/_configuration.nix b/machines/compute01/_configuration.nix index 6af059e..59060d8 100644 --- a/machines/compute01/_configuration.nix +++ b/machines/compute01/_configuration.nix @@ -11,6 +11,7 @@ lib.extra.mkConfig { enabledServices = [ # List of services to enable "arkheon" + "signal-irc-bridge" "ds-fr" "grafana" "hedgedoc" diff --git a/machines/compute01/secrets/secrets.nix b/machines/compute01/secrets/secrets.nix index 9a880d8..2ff76e4 100644 --- a/machines/compute01/secrets/secrets.nix +++ b/machines/compute01/secrets/secrets.nix @@ -23,6 +23,7 @@ lib.setDefault { inherit publicKeys; } [ "plausible-secret_key_base_file" "plausible-smtp_password_file" "satosa-env_file" + "signal-irc-bridge-config" "telegraf-environment_file" "vaultwarden-environment_file" "zammad-secret_key_base_file" diff --git a/machines/compute01/secrets/signal-irc-bridge-config b/machines/compute01/secrets/signal-irc-bridge-config new file mode 100644 index 0000000..1158ae3 --- /dev/null +++ b/machines/compute01/secrets/signal-irc-bridge-config @@ -0,0 +1,29 @@ +age-encryption.org/v1 +-> ssh-ed25519 jIXfPA amum6RbXOklYVgw9LbePC/FlJPJHLRT1peBvcD7+3xE +xB0z2R0gERJNMQnuuWlMZBvwBLD/0Cb70rFrnYg7Xm0 +-> ssh-ed25519 QlRB9Q 3+JuXBQQWcQbC2HsfO5FY+MQrSIpXJ1DBOpp9vHH7GY +7IcedTCLy1clAfhlhfkkMcLLq1FNM1kugRgdnAkX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Ax3aKOq+/Cz7TGI6Eu1QN+hqZlPuscGBNkOJBhg +--- E6Fp2JAT9jd8jYWOtMWkH0BNqrafOxBzyRLdK5H1/CI +,Ò|®<Û([Û‡ÐUå¥-ÙŽ‘`/ú:z õÀ§aØ2çud"òB íÀ•° Gž»ŒžJÈô$ë¼=ÿ£Eé&Î4t耶§â¶÷v?g -º¦0!PCé¹S¹ból½nWf‹|:›ørm^麕:¹ÎÊ\nOƒEcZé?‹° 4ŒÎ+W©X; û=7j6!Å@«Ãœ)oœ­¸Ì4Ø+ÞÑ÷/¯ 3òʤ-…;$aeµ‘Ûˆ¶jß¹²:=åféت§ÀcŽJnžèÁû4Eø/_¬L€9³`ÚòÆðä ³Ë:^:Oìp H(Ð÷ Ä邃àÄ ¢~ÔÛû×,iùºÎk~&çùpм0ìÜçÖèòG¢­e`ÅÏ•Õq"šè!™r‹Í²s +þô*«­ý‘Ö®þ5 ‰P¿ºB¥.Ï\{wW<_E•)Rh \ No newline at end of file diff --git a/machines/compute01/signal-irc-bridge.nix b/machines/compute01/signal-irc-bridge.nix new file mode 100644 index 0000000..016d350 --- /dev/null +++ b/machines/compute01/signal-irc-bridge.nix @@ -0,0 +1,18 @@ +{ + config, + sources, + nixpkgs, + ... +}: +{ + imports = [ (import (sources.signal-irc-bridge.outPath + "/module.nix")) ]; + + systemd.services.signal-irc-bridge.serviceConfig = { + Group = "nginx"; + }; + services.signal-irc-bridge = { + enable = true; + package = nixpkgs.unstable.callPackage (sources.signal-irc-bridge.outPath + "/package.nix") { }; + configFile = config.age.secrets."signal-irc-bridge-config".path; + }; +} diff --git a/npins/sources.json b/npins/sources.json index 11ec087..3db1163 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -167,6 +167,17 @@ "url": "https://github.com/cachix/pre-commit-hooks.nix/archive/2849da033884f54822af194400f8dff435ada242.tar.gz", "hash": "0ag90l0hrkhm02mkmm8yf3fnjjawv99czc7bp0szzgknps0xrzxb" }, + "signal-irc-bridge": { + "type": "Git", + "repository": { + "type": "Git", + "url": "https://git.dgnum.eu/mdebray/signal-irc-bridge" + }, + "branch": "master", + "revision": "675453d43a1f1994fc536a5f2210d82b92b9d7c2", + "url": null, + "hash": "139xy539vcxmv92p7vxykyns35m783v4nywfjb55532cn3h0czv5" + }, "stateless-uptime-kuma": { "type": "Git", "repository": {