!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

365 Members
age-encrypted secrets for NixOS https://github.com/ryantm/agenix/96 Servers

Load older messages


SenderMessageTime
1 Feb 2023
@plutoisnotblue:matrix.org@plutoisnotblue:matrix.org left the room.23:36:30
8 Feb 2023
@mar.in:matrix.orgmarin joined the room.19:27:38
9 Feb 2023
@saviosg:matrix.orgsaviosg joined the room.22:55:48
10 Feb 2023
@mar.in:matrix.orgmarin left the room.01:21:32
@hexagony:mozilla.orghexagony joined the room.02:05:24
11 Feb 2023
@noonien:matrix.orgnoonien joined the room.21:18:50
@noonien:matrix.orgnoonienhello!21:20:13
@noonien:matrix.orgnoonien ryantm: have you had a chance to consider https://github.com/ryantm/agenix/issues/145 by any chance? 21:20:49
@noonien:matrix.orgnoonienthe change should not break anything, as far as I can tell21:21:07
@noonien:matrix.orgnoonienI've just started using agenix, but I could start looking into creating a PR21:21:43
@ryantm:matrix.orgryantm noonien: Thanks for the ping, I just replied to that issue! 21:24:15
12 Feb 2023
@dcbrees:matrix.orgdcbrees joined the room.17:17:47
@dcbrees:matrix.orgdcbrees left the room.17:32:24
14 Feb 2023
@quidquam:matrix.orgmee joined the room.21:52:36
18 Feb 2023
@ryantm:matrix.orgryantm

maralorn: Looks like you can override the darwin like this:

  inputs.agenix.inputs.darwin.follows = "";
20:07:16
@maralorn:maralorn.demaralorn
In reply to @ryantm:matrix.org

maralorn: Looks like you can override the darwin like this:

  inputs.agenix.inputs.darwin.follows = "";
Yes, I have resolved to do that. For more see: https://github.com/NixOS/nix/issues/7807
20:20:30
@ryantm:matrix.orgryantmCool, thanks for that context.20:35:37
20 Feb 2023
@thomaslepoix:matrix.orgthomaslepoix joined the room.18:52:18
22 Feb 2023
@lgcl:lgcl.delgcl (they/them) changed their display name from lgcl to lgcl (they/them).20:32:28
26 Feb 2023
@michaelsmitth:matrix.orgmichaelsmitth joined the room.00:24:37
@michaelsmitth:matrix.orgmichaelsmitthIs someone here to help?01:19:12
@ryantm:matrix.orgryantmYo01:20:10
@michaelsmitth:matrix.orgmichaelsmitth
In reply to @ryantm:matrix.org
Yo

Hi. So i am following the setup tutorial right now. I basically have to machines and different passwords for the machines.

I am just not sure how to setup the secrets.nix file. This is what I currently have:

let
  mainpc =  "";
  mainserver = "";
in
{
  ""
}
01:21:48
@michaelsmitth:matrix.orgmichaelsmitth

What does this line mean?

"secret1.age".publicKeys = [ user1 system1 ];
01:23:04
@ryantm:matrix.orgryantmIt means that secret1.age should be encrypted such that the user1 public key and the system1 public key can decrypt it.01:24:23
@michaelsmitth:matrix.orgmichaelsmitth And that secret1.age is just a file which could for example be one for my userpassword.age, rootpassword.age and so on? 01:25:52
@ryantm:matrix.orgryantmYep01:26:13
@michaelsmitth:matrix.orgmichaelsmitthIs it recommended to create one age file for each individual secret, or are mutliple in one also possible?01:26:38
@ryantm:matrix.orgryantmYou can do either but one secret per file is usually the more ergonomic way.01:27:28
@michaelsmitth:matrix.orgmichaelsmitth Okay, good. And how would I generate the secret key with ssh-keyscan now? 01:29:14

Show newer messages


Back to Room ListRoom Version: 6