Maddy: Difference between revisions
imported>Onny mNo edit summary |
imported>Onny Add option ensureCredentials |
||
| Line 26: | Line 26: | ||
"postmaster@example.org" | "postmaster@example.org" | ||
]; | ]; | ||
ensureCredentials = { | |||
# Do not use this in production. This will make passwords world-readable | |||
# in the Nix store | |||
"user1@example.org".passwordFile = "${pkgs.writeText "postmaster" "test"}"; | |||
"postmaster@example.org".passwordFile = "${pkgs.writeText "postmaster" "test"}"; | |||
}; | |||
}; | }; | ||
</nowiki>}} | </nowiki>}} | ||