summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/odin.nix b/odin.nix
index 39f3659d..c64918a0 100644
--- a/odin.nix
+++ b/odin.nix
@@ -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