File tree Expand file tree Collapse file tree 2 files changed +24
-20
lines changed Expand file tree Collapse file tree 2 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 6
6
./munin.nix
7
7
./desktop-gnome3.nix
8
8
./dictionary.nix
9
+ ./postfix.nix
9
10
./syncthing.nix
10
11
./virtualisation.nix
11
12
] ;
189
190
# for hamster-time-tracker
190
191
dbus . packages = with pkgs ; [ gnome2 . GConf ] ;
191
192
192
- postfix = {
193
- enable = true ;
194
- # Possibly set "domain" in machine specific configs.
195
- # The default "From:" address is
196
- # user@${config.networking.hostName}.localdomain
197
- #domain = "server1.example";
198
-
199
- extraConfig = ''
200
- inet_interfaces = loopback-only
201
-
202
- # Postfix (or my system) seems to prefer ipv6 now, but that breaks on
203
- # my network:
204
- #
205
- # connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c09::1b]:25: Network is unreachable
206
- #
207
- # So let's force ipv4.
208
- smtp_address_preference = ipv4
209
- '' ;
210
- } ;
211
-
212
193
# Provide "MODE=666" or "MODE=664 + GROUP=plugdev" for a bunch of USB
213
194
# devices, so that we don't have to run as root.
214
195
udev . packages = with pkgs ; [
Original file line number Diff line number Diff line change
1
+ {
2
+ services = {
3
+ postfix = {
4
+ enable = true ;
5
+ # Possibly set "domain" in machine specific configs.
6
+ # The default "From:" address is
7
+ # user@${config.networking.hostName}.localdomain
8
+ #domain = "server1.example";
9
+
10
+ extraConfig = ''
11
+ inet_interfaces = loopback-only
12
+
13
+ # Postfix (or my system) seems to prefer ipv6 now, but that breaks on
14
+ # my network:
15
+ #
16
+ # connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c09::1b]:25: Network is unreachable
17
+ #
18
+ # So let's force ipv4.
19
+ smtp_address_preference = ipv4
20
+ '' ;
21
+ } ;
22
+ } ;
23
+ }
You can’t perform that action at this time.
0 commit comments