diff options
-rw-r--r-- | odin.nix | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -131,11 +131,14 @@ | |||
131 | uucp: gkleen | 131 | uucp: gkleen |
132 | ''; | 132 | ''; |
133 | 133 | ||
134 | destination = [''regexp:${pkgs.writeText "destination" '' | 134 | destination = [ |
135 | /\.?localdomain$/ ACCEPT | 135 | ''regexp:${pkgs.writeText "destination" '' |
136 | /^localhost$/ ACCEPT | 136 | /\.?localdomain$/ ACCEPT |
137 | /\.?odin(\.asgard\.yggdrasil)?$/ ACCEPT | 137 | /^localhost$/ ACCEPT |
138 | ''}'']; | 138 | /\.?odin(\.asgard\.yggdrasil)?$/ ACCEPT |
139 | ''} | ||
140 | '' | ||
141 | ]; | ||
139 | config = { | 142 | config = { |
140 | default_transport = "uucp:ymir"; | 143 | default_transport = "uucp:ymir"; |
141 | 144 | ||