mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 07:26:22 +01:00
Merge branch 'master' of github.com:r-raymond/nixos-mailserver
This commit is contained in:
commit
47f742fb83
1 changed files with 29 additions and 1 deletions
30
README.md
30
README.md
|
@ -36,7 +36,7 @@ None so far.
|
||||||
|
|
||||||
### v1.2
|
### v1.2
|
||||||
* Certificates
|
* Certificates
|
||||||
- [ ] Let's Encrypt
|
- [x] Let's Encrypt
|
||||||
* Sieves
|
* Sieves
|
||||||
- [ ] Allow user defined sieve scripts
|
- [ ] Allow user defined sieve scripts
|
||||||
* User Aliases
|
* User Aliases
|
||||||
|
@ -51,6 +51,34 @@ None so far.
|
||||||
* Changed structure to Nix Modules
|
* Changed structure to Nix Modules
|
||||||
* Adds Sieve support
|
* Adds Sieve support
|
||||||
|
|
||||||
|
### How to Deploy
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(builtins.fetchTarball "https://github.com/r-raymond/nixos-mailserver/releases/tag/v1.1-rc2")
|
||||||
|
];
|
||||||
|
|
||||||
|
mailserver = {
|
||||||
|
enable = true;
|
||||||
|
domain = "example.com";
|
||||||
|
login_accounts = {
|
||||||
|
user1 = {
|
||||||
|
name = "test";
|
||||||
|
hashedPassword = "$6$Mmmx1U68$Twd8acMxqHoqFyfz3SPz1pzjY/D36gayAdpUTFMvfrHQUwObF3acuLz2GYAGFzsjHLEK/dPIv3pCwj3kZ5T2u.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
virtualAliases = {
|
||||||
|
admin = "user1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
For a complete list of options, see `default.nix`.
|
||||||
|
|
||||||
|
|
||||||
### How to Test
|
### How to Test
|
||||||
|
|
||||||
You can test the setup via `nixops`. After installation, do
|
You can test the setup via `nixops`. After installation, do
|
||||||
|
|
Loading…
Reference in a new issue