working postgresql installation
This commit is contained in:
parent
05e7f70bbc
commit
fbf8bb2ad6
6 changed files with 121 additions and 3 deletions
5
secrets/README.md
Normal file
5
secrets/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
To create a secret:
|
||||
|
||||
```bash
|
||||
nix run github:ryantm/agenix# -- -e secret.age
|
||||
``
|
BIN
secrets/postgresql_server.key.age
Normal file
BIN
secrets/postgresql_server.key.age
Normal file
Binary file not shown.
|
@ -6,7 +6,11 @@ let
|
|||
publicKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIJUSH2IQg8Y/CCcej7J6oe4co++6HlDo1MYDCR3gV3a pim@x260"
|
||||
];
|
||||
encryptedFiles = [ "jefke_host_ed25519.age" "jefke_user_ed25519.age" ];
|
||||
encryptedFiles = [
|
||||
"jefke_host_ed25519.age"
|
||||
"jefke_user_ed25519.age"
|
||||
"postgresql_server.key.age"
|
||||
];
|
||||
};
|
||||
};
|
||||
in lib.attrsets.mergeAttrsList (builtins.map ({ publicKeys, encryptedFiles }:
|
||||
|
|
Reference in a new issue