This commit is contained in:
dusk 2023-05-05 03:09:46 +03:00
parent 93cd9620dd
commit cef3293400
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
9 changed files with 56 additions and 7 deletions

View File

@ -1,4 +0,0 @@
* filter=git-crypt diff=git-crypt
ssh-key.pub !filter !diff
.gitattributes !filter !diff
README.md !filter !diff

19
secrets/bernbotToken.age Normal file
View File

@ -0,0 +1,19 @@
age-encryption.org/v1
-> ssh-ed25519 KjIL7g 9zqnchTxa2RNHh6dA3ywXt7kkdP7PIT09IDW5S5NBQU
kBvwfU6jyBgPkjww8mm7aKjDeC/te9AySRQhWW8zDkA
-> ssh-rsa Abmvag
CK5dRW3YSK7sSZoYqxuolfjHQkIKEKbzX4Z6PjaRaF5l5+/JPQnFhi+/AvhjAD5T
kdgUw6NjWRRRz8oxRfdXezDv+ilFT1SomYvvbc0BtVm1MSoSrw8mwvcP10E1Ufet
B5SgfGR1RCKrzUxG+zD7iXRfnpvpC7RURSRqSFoLZOEiHYE+yRaEWsL7bq5jrIqt
OOH7OP+g+ScReyaTz02ReHqCNnKl4YqM5V1EfCEgrchwMbEFZji7cqmoTQcG0Dbd
c16kdGwzTJrqKkcTGnGn+MwQb5WrSvWmE5JTliq+ksC8Mujot+ufZa1UFPz3uPJh
j2UIc4sWTRba7Jz/nqL2Ef5d8LeXtus/TqNszRBW3AIffXl5I04kQTb+sAv8WPTx
fH34li8Dd2RZdK/iPlJMqsUJhnb/4QpvDQaqigAzX9WLQy4sllsXQdjSwgm8Chen
0peoZsFiPkQrQ3qs9tm0JI8xFbFOnvaso0o9iMGi6JZfc1Xx1P1l533yJjm6BOAl
h7rX7ocLi8kfTmXAIzo80Ux0WfHyWkqvMbE6E59T5tVwcTyJQwg3F8UFs+HB7zY9
NajjyLZP7FnLFyEY9OkdZ+TmTERu7EssHWVVnm7y3YdglUbGI7dvNrYXEfK35HEN
kAofFoIKRIEx/EJfcqFksb3ghIg+d3TzfMSJlefhJXg
-> ~am?#^s~-grease
TZj9QCRRKFXA4zbN86Hc88WzEJGSfhfdiylgXgsVqmgdevbrs+Yek0NpdA
--- TI12rWP+DxEO/4ynIKZLXUraDINwjquPe27/MLbF+ws
Žû=úWùgÕÞ¦­|ã.ÍÙU<6æJ­]^8!s¸QØ$psÇÖëÕa™±4Êq?!#üfô  Ò¿œøü®ŸJ<4F>^çFçTwgh@뺡֨P˜‡“ô —ƒ Évwð`Ô`4;ÿ£3 ÖG\Œ

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,20 @@
age-encryption.org/v1
-> ssh-rsa Abmvag
f0TCb9mYA+pCLmnD+OrOCeXn4rZLQauDPctBDjw2OR8t5fRp+WMSp/dW8MmFO9iF
WMSpF/ga4DO3VnvsVtJ21tbekknoZqGMoIXQUL7ROYqbqWuJu0Oq63n0bJWI+Q8d
ugCJAhGgAkLADddneLNPLS6Fs/eO1ABGdgWBatreA32MZYHGarML1tpsCVy2s8z+
elfcNyGKKmjQHauvlkDYmPuRWoH7PX0Ef9fSSppYoVExwOmQxj18P7sIa5X4GSN3
BPSWEViUA6jO+bXsj+DLu6t9ReloFkYynamRsLtnKrGzMlJTnqCp9PAqOiOMXK9I
w5gC6ViD/2vPgkfogBbsFhUrGwAhrdeRJ5z+uacOq6I1mn3nZs5DnPs6BVBDKidc
KVEHNTwpLpEbaS6cOnXfSYuJd5UNJbnKi75cCI8I5fe0Bd5g2rJTsd3EZQOKE/34
3veDcCcWNL1ZykeUsUUj4V4vzSiWS5//nyFum54y3ihtvZIeFbtm2Jh403YuQHKn
ltFgYnIS5KjdfeQ11LOfDaHFbzIjqIWULJ6KV9zRqPmmb08diuiJ3LvXHxTVQ1/N
K1742vDJucMuSLhFIVq/lufCSg3DMXVJUs8U5VhaFCNTPXBWR3ZaS1AwZgm4bhW2
FQx+YDv5E2z0RSbqDUK07SPh33xu2XWkXEPH8KwB8d4
-> "J,lTC+-grease p ,
TRD6pwBJQ9U
--- uAglxAkrcJdg7FPLhAin6AUGoYQQ9O071OIZptp9790
†[†óð!!Ôüxº"¬œç`Y£IÂö Ö<>šG
(¥F:dq©EÎChl˜ùìÕä ±¤ù}]`Ý6wñm`X
•Ãy±t@qµ
lýçÅ[¿RúúÝ<C3BA>(š~tù£M±^zÆý

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,9 +1,23 @@
{tlib, ...}: {tlib, ...}:
tlib.genPkgs (pkgs: { tlib.genPkgs (pkgs: let
agenix-wrapped = pkgs.writeShellApplication {
name = "agenix";
runtimeInputs = [pkgs.agenix];
text = ''
if [ -z "''${1-}" ]; then
agenix
else
RULES="/etc/nixos/secrets/secrets.nix" agenix -i /etc/nixos/keys/ssh_key "$@"
fi
'';
};
in {
default = with pkgs; default = with pkgs;
mkShell { mkShell {
name = "prts"; name = "prts";
buildInputs = [git git-crypt alejandra helix agenix]; buildInputs = [git git-crypt alejandra helix agenix-wrapped rage];
shellHook = "echo \"$(tput bold)welcome to PRTS, $USER$(tput sgr0)\""; shellHook = ''
echo \"$(tput bold)welcome to PRTS, $USER$(tput sgr0)\"
'';
}; };
}) })