summary refs log tree commit diff stats
path: root/secrets/secrets.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-19 22:54:19 +0100
committersils <sils@sils.li>2023-11-19 22:54:19 +0100
commit0382d371c2998756326278c719a0d928209e1480 (patch)
treee942be0ff818105cc3a53c4fa269b4ae48cde03a /secrets/secrets.nix
parentfeat(flake): add (r)agenix (diff)
downloadnix-config-0382d371c2998756326278c719a0d928209e1480.tar.gz
nix-config-0382d371c2998756326278c719a0d928209e1480.zip
feat(treewide): use agenix for wifi-passwords
Diffstat (limited to 'secrets/secrets.nix')
-rw-r--r--secrets/secrets.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
new file mode 100644
index 0000000..104e25b
--- /dev/null
+++ b/secrets/secrets.nix
@@ -0,0 +1,10 @@
+let
+  sils = "age1vuhaey7kd9l76y6f9weeqmde3s4kjw38869ju6u3027yece2r3rqssjxst";
+  thinklappi = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGtOvWH5GgVhCAUsHTlKI/N2w7rK+uODMro0VZYWWdZJ root@thinklappi";
+  allSecrets = [
+    sils
+    thinklappi
+  ];
+in {
+  "wireless.age".publicKeys = allSecrets;
+}