diff options
author | Soispha <soispha@vhack.eu> | 2023-06-06 15:13:32 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-06-06 15:13:32 +0200 |
commit | 3f7852df408ac5bb5148e6d8cf7d837d730c101d (patch) | |
tree | 21b0f1fe80d569f5e23f0907b73488671805c1b0 /secrets | |
parent | Refactor(secrets/nheko): Separate in directory (diff) | |
download | nixos-config-3f7852df408ac5bb5148e6d8cf7d837d730c101d.tar.gz nixos-config-3f7852df408ac5bb5148e6d8cf7d837d730c101d.zip |
Fix(system/services/serverphone): Fully add
Diffstat (limited to '')
-rw-r--r-- | secrets/default.nix | 12 | ||||
-rw-r--r-- | secrets/secrets.nix | 3 | ||||
-rw-r--r-- | secrets/serverphone/ca.key | 19 | ||||
-rw-r--r-- | secrets/serverphone/server.key | 17 |
4 files changed, 51 insertions, 0 deletions
diff --git a/secrets/default.nix b/secrets/default.nix index 4fdf3f5c..bdfdf34e 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -9,6 +9,18 @@ in { owner = "soispha"; group = "users"; }; + serverphoneCa = { + file = ./serverphone/ca.key; + mode = "700"; + owner = "root"; + group = "root"; + }; + serverphoneServer = { + file = ./serverphone/server.key; + mode = "700"; + owner = "root"; + group = "root"; + }; }; }; } diff --git a/secrets/secrets.nix b/secrets/secrets.nix index f90315f1..5a1b2baf 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -6,6 +6,9 @@ let in { "nheko/tiamat".publicKeys = [soispha tiamat]; "nheko/apzu".publicKeys = [soispha apzu]; + + "serverphone/ca.key".publicKeys = [soispha tiamat apzu]; + "serverphone/server.key".publicKeys = [soispha tiamat apzu]; } # vim: ts=2 diff --git a/secrets/serverphone/ca.key b/secrets/serverphone/ca.key new file mode 100644 index 00000000..07990738 --- /dev/null +++ b/secrets/serverphone/ca.key @@ -0,0 +1,19 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTU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rets/serverphone/server.key b/secrets/serverphone/server.key new file mode 100644 index 00000000..56733357 --- /dev/null +++ b/secrets/serverphone/server.key @@ -0,0 +1,17 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB6NnJzUkdheEN5Yjl2Q2hK +ZkFuQVc1SExZOEpBYkFhT1Jpb253OUQ5TzJBCkk1VVlVUnVEdnNFNUVwTjBNd2tz +Sk41U1RxTktObmpDV0IyY3M2TGJZWDQKLT4gc3NoLWVkMjU1MTkgelpFb25nIFJk +S3ZNcFByUE4xaGkvUURqUzRZbUxoSGo1clJLSWtaWXM0NVZ4aWdwV28KSXFWRDg4 +VVEwVkEwR3BQNUN2R25SbHd3SzdYemh2ZHlTNmhOUC9DZzBWRQotPiBzc2gtZWQy +NTUxOSBsVTV2ZFEgNGNybGhFdi9FY3NrUnYydmxnVnFMMytJbDlZN2psMzA3bHB1 +b3oxZUZsMApvMmszM0pPSENkYjh2Vm12MHAzVlh5cjgyeXMxekVQUWY3Y1VXVEhp +c2d3Ci0+ICYsUy1ncmVhc2UKVmJQY1ViUXg5RUdNYXBEL0pjbkdrVk9sZEN5bzNU +ckNDbTBOR0EKLS0tIGVNK3E5TGZ2Sk4vVS9iNCt4c1Avb1pVRVJ3SDF2UlN6MzA3 +ZzVqNGdyZFkKQ+Quvzj/d9YTysXhbecExgfL8sA894OK8Gzu+d20XhrbR9ubt24j +2IrTEz1mA/4q5Os0BoZYzV0td7iYVbuh34jJznhq3GQ1NUoS3445D+p/Ffxnd8Um +ou+xff6wxV5MsdubO0Sy4PrWjZx/MusxI8g/fj1CEvWwiEeBKoY6mDZHA4LPJCsm +V9wLx9S+GgFXEp0niOVC2WDGaHj/XNNEodAMCyfGLcFhlvpaX5IduttnkSmDz4ql +QmTfeks8GoLA/h2zIDFMsu9nL6mkorGCX/MItKVfp9DLZIb6qjkFJjZyKSjbPbEF +6jlIN7t/znXNH49LQ5vXUT6Znpwvp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