summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-16 14:39:55 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-16 14:39:55 +0200
commit7ac36aae28fbe14b2015eef7faaa134506346ac2 (patch)
tree96f932f382d283952eeea31b88bdb2e3b50bce0d
parentf59c0553147c02b4c925edf8c99596edbd1079e8 (diff)
downloadnixos-7ac36aae28fbe14b2015eef7faaa134506346ac2.tar
nixos-7ac36aae28fbe14b2015eef7faaa134506346ac2.tar.gz
nixos-7ac36aae28fbe14b2015eef7faaa134506346ac2.tar.bz2
nixos-7ac36aae28fbe14b2015eef7faaa134506346ac2.tar.xz
nixos-7ac36aae28fbe14b2015eef7faaa134506346ac2.zip
minor cleanup
-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