Agenix secrets overhaul
This commit is contained in:
parent
83796f7cb2
commit
55dcb2fca7
56 changed files with 530 additions and 137 deletions
|
@ -28,11 +28,11 @@
|
|||
# A list of accounts, passwords generated with nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt'
|
||||
loginAccounts = {
|
||||
"noreply@${config.domains.jim1}" = {
|
||||
hashedPasswordFile = pkgs.writeText "noreply" config.secrets.noreplyMailHash;
|
||||
hashedPasswordFile = config.age.secrets.noreplyMailHash.path;
|
||||
sendOnly = true;
|
||||
};
|
||||
"jimbo@${config.domains.jim2}" = {
|
||||
hashedPasswordFile = pkgs.writeText "jimbo" config.secrets.jimboMailHash;
|
||||
hashedPasswordFile = config.age.secrets.jimboMailHash.path;
|
||||
aliases = [
|
||||
"jimbo@${config.domains.jim1}"
|
||||
"james@${config.domains.jim1}"
|
||||
|
@ -42,13 +42,13 @@
|
|||
];
|
||||
};
|
||||
"luna@${config.domains.luna}" = {
|
||||
hashedPasswordFile = pkgs.writeText "luna" config.secrets.lunaMailHash;
|
||||
hashedPasswordFile = config.age.secrets.lunaMailHash.path;
|
||||
};
|
||||
"corn@${config.domains.corn}" = {
|
||||
hashedPasswordFile = pkgs.writeText "corn" config.secrets.cornMailHash;
|
||||
hashedPasswordFile = config.age.secrets.cornMailHash.path;
|
||||
};
|
||||
"tiny@${config.domains.corn}" = {
|
||||
hashedPasswordFile = pkgs.writeText "tiny" config.secrets.tinyMailHash;
|
||||
hashedPasswordFile = config.age.secrets.tinyMailHash.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue