pull nixos-mailserver module into this repo
This commit is contained in:
parent
0b19cc8c6a
commit
284dd09a91
23 changed files with 1077 additions and 188 deletions
20
nixos-mailserver/default.nix
Normal file
20
nixos-mailserver/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Import some configuration as they are too long to be easily readable here
|
||||
imports = [
|
||||
./options.nix
|
||||
./dovecot.nix
|
||||
./postfix.nix
|
||||
./postfixadmin.nix
|
||||
./roundcube.nix
|
||||
./rspamd.nix
|
||||
];
|
||||
users.groups."${config.services.mymailserver.internal.vmailGroup}" = { gid = config.services.mymailserver.internal.vmailGID; };
|
||||
users.users."${config.services.mymailserver.internal.vmailUser}" = {
|
||||
isSystemUser = true;
|
||||
uid = config.services.mymailserver.internal.vmailUID;
|
||||
group = config.services.mymailserver.internal.vmailGroup;
|
||||
hashedPassword = "!";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue