This commit is contained in:
Riley Apeldoorn 2022-05-27 16:10:51 +02:00
parent 1410b20e7d
commit c08a99f4a4
5 changed files with 14 additions and 11 deletions

View file

@ -30,7 +30,7 @@
vim
];
age.secrets."website-secret".file = ../../secrets/website-secret.age;
age.secrets."website-secret".file = ../../secrets/website.age;
system.stateVersion = "21.11";

View file

@ -1,6 +1,6 @@
{ pkgs, lib, config, ... }:
let secret = config.age.secrets."website-secret".path;
let secret = config.age.secrets."website".path;
website = pkgs.rustPlatform.buildRustPackage {
pname = "website";
version = "1.0.0";

View file

@ -1,7 +1,7 @@
let sif = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOIXreYQgV6lS0rJ1NlAbgq3Iv5FJ8o1MOr08NhLTGFG";
thor = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILniE+LdfdV9V9+Zj5gJXqKEv1CzQaEySy1u5OdbKa8d root@thor";
thor = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILniE+LdfdV9V9+Zj5gJXqKEv1CzQaEySy1u5OdbKa8d";
in {
"website-secret.age".publicKeys = [
"website.age".publicKeys = [
thor
sif
];

View file

@ -1,7 +0,0 @@
age-encryption.org/v1
-> ssh-ed25519 ZEUNCQ D7HH+PR/jwjbb2LKJLVyADJjPvFflRDf61PywFWvpH0
4pEJdyC8Obe7t+S5a2Yn52lfM7klw8eAsfZ6H48ivbg
-> ^MruyW-grease S`2pFl
z8kUgel+3sOrgcGwRRRPcvqCF7X1EmmbR6mUymUbuT0
--- GvdH/J6Aa9dnK5QttDoOQTuZZos7s7xqPvPNJRF5A/k
€[Å4mm!‡Â¾8‰Ü,%<25><>t;´“'áNæª11ò™ÿOQh5×[' ¨_

10
secrets/website.age Normal file
View file

@ -0,0 +1,10 @@
age-encryption.org/v1
-> ssh-ed25519 qlXMTg b+IgpHsZOeqs3rHFs6BE2kXFKh0ya5Qr8WKqgNO5rDA
a/LM3SIob+udnVsqIqUkR7xdE7fa1TyQhOZbjQRsnV0
-> ssh-ed25519 ZEUNCQ PErAc4AM7H1zYFv4OlFkZVGJlze6nTvmmEt1y+x4tDY
2HwpQ+2B/zXatOCKUPSabRu2ZWcTTODzheDkxngcQi4
-> j]Pn\)-grease uQI:D GZvyy
9/Z0dk6R1bUhJbN32W3id9q959Nn0+jVL2dzDxLDHjacDeldJ4WuxrEzl0xdMUNE
YaFJepKcRKR9
--- X8YEMtOmM0Mr71UzVA8gKozDYk5S53XSmBxjpSP6PbQ
‡Ì/‡Å&!.¼l1d)õ©›:í=T<>öÖÿÉ<C3BF>ï P^º/ÇfV†F0$ç_Ƀ