Compare commits
2 commits
ce324dc8e2
...
da023642ef
| Author | SHA1 | Date | |
|---|---|---|---|
| da023642ef | |||
| 8155fbb41c |
2 changed files with 4 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, ... }:
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.synix.nixosModules.mailserver ];
|
imports = [ inputs.synix.nixosModules.mailserver ];
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
stateVersion = 3;
|
stateVersion = 3;
|
||||||
localDnsResolver = false; # use coredns
|
localDnsResolver = !config.services.coredns.enable;
|
||||||
accounts = {
|
accounts = {
|
||||||
sid = {
|
sid = {
|
||||||
aliases = [ "postmaster" ];
|
aliases = [ "postmaster" ];
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, ... }:
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.synix.nixosModules.tailscale ];
|
imports = [ inputs.synix.nixosModules.tailscale ];
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSSH = true;
|
enableSSH = true;
|
||||||
|
acceptDNS = !config.services.coredns.enable;
|
||||||
loginServer = "https://hs.sid.ovh";
|
loginServer = "https://hs.sid.ovh";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue