about summary refs log tree commit diff stats
path: root/sys/secrets
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-28 11:01:33 +0100
committerSoispha <soispha@vhack.eu>2024-03-28 11:01:33 +0100
commit815dfcc69f82e6ae37633185d4c0fe487793bcd4 (patch)
tree930f69ebeffd9e59571ec739f02b9a077c3bd629 /sys/secrets
parentfix(hm/conf/gpg): Add my nixpkgs fork to ensure a working gpg-agent (diff)
downloadnixos-config-815dfcc69f82e6ae37633185d4c0fe487793bcd4.tar.gz
nixos-config-815dfcc69f82e6ae37633185d4c0fe487793bcd4.zip
chore(treewide): Move away from git-crypt
Diffstat (limited to 'sys/secrets')
-rw-r--r--sys/secrets/default.nix6
-rw-r--r--sys/secrets/secrets.nix1
-rw-r--r--sys/secrets/taskserver/credentials15
3 files changed, 22 insertions, 0 deletions
diff --git a/sys/secrets/default.nix b/sys/secrets/default.nix
index 86118d10..d69014bf 100644
--- a/sys/secrets/default.nix
+++ b/sys/secrets/default.nix
@@ -56,6 +56,12 @@ in {
             owner = "soispha";
             group = "users";
           };
+          taskserverCredentials = {
+            file = ./taskserver/credentials;
+            mode = "700";
+            owner = "soispha";
+            group = "users";
+          };
         };
       };
     };
diff --git a/sys/secrets/secrets.nix b/sys/secrets/secrets.nix
index dd5bf022..4bbf895f 100644
--- a/sys/secrets/secrets.nix
+++ b/sys/secrets/secrets.nix
@@ -16,4 +16,5 @@ in {
   "taskserver/private.key".publicKeys = [soispha tiamat apzu];
   "taskserver/public.cert".publicKeys = [soispha tiamat apzu];
   "taskserver/ca.cert".publicKeys = [soispha tiamat apzu];
+  "taskserver/credentials".publicKeys = [soispha tiamat apzu];
 }
diff --git a/sys/secrets/taskserver/credentials b/sys/secrets/taskserver/credentials
new file mode 100644
index 00000000..f3aaf502
--- /dev/null
+++ b/sys/secrets/taskserver/credentials
@@ -0,0 +1,15 @@
+-----BEGIN AGE ENCRYPTED FILE-----
+YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBqdGQ3a0pWb3lvZXFWbTFQ
+UG1JbGREZW9SS3ZuWXJhbTdvTTBqZUdhN0Q0CjF1cnJFM1d2ZFNyRW44Rzlvamlz
+VWQycXhmWnB4L1hiSE5qbFozWFlGMU0KLT4gc3NoLWVkMjU1MTkgelpFb25nIEFk
+bVQ3U3BsU1FkeWxBY0sySTV2UkxocXJpVXMyd1FrMXA3YUR0NWtTR1kKeUtHODVy
+aXE3aXh4WkFmYTJtdlZyZ1A1QlhYZGZuTUYxYVVlblRUV1BqOAotPiBzc2gtZWQy
+NTUxOSA3SGZGVXcgdGR4cFMya3p6TEx5cnhYcWNXR2FlVEk3UTBEcHQ3Y3RmK0lY
+YlpwRXJGcwpwZUVqODB3SUZUdTlQVW4yaWlZaTE0RE9OT1dLanZlSGV6cnlJRElQ
+UjBBCi0+ICFALWdyZWFzZSB0MFU2IDZoIEJPWUZIP1sKN1l2dzdWN1JDbEhEeXBq
+THV0cWJIV1RLalVsVVp3RCtwbk5NS2pnd3kxS1RhNTNaa3pqWXZFVm9FM2N2cFp5
+TQpYR2MKLS0tIEhLQWdwL0VoT1ZGNU5UUWs0SVVqK0ZQTndkTURPb0VtNEtJN3or
+S0Q0K1UKRfhyrcVb0EbsKj9gL5kqaIpfrsWd2cizrVQ67y9ZOwWilWgk/gkoXadf
+q7QeYjnWsHeIVtSZIaHSa8+9pvKAwiYW+B6DjRi7EXkCYz8zGeanMuoKA4by5Q9x
+VMKJlWk7c0WIzSuviw==
+-----END AGE ENCRYPTED FILE-----