Skip to content

Commit

Permalink
Add secrets.nix w/ a secret (hedgehog)
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jun 21, 2024
1 parent d17234e commit 3a21580
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions secrets/hedgedoc.env.age

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions secrets/secrets.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
let
config = import ../users/config.nix;
users = [ config.users.srid.sshKey ];

appreciate = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICra+ZidiwrHGjcGnyqPvHcZDvnGivbLMayDyecPYDh0";
immediacy = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKZALEiJIrH1Kj10u+WshkQXr5NHmszza8wNLqW+2fB0";
systems = [ appreciate immediacy ];
in
{
"hedgedoc.env.age".publicKeys = users ++ systems;
}

0 comments on commit 3a21580

Please sign in to comment.