summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-05-13 12:30:57 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-05-13 12:30:57 +0200
commit8c9655bc533c09d772d49f0984bfc87b26768e4c (patch)
treedfec35a35e0ab779cc84ec2e5459104a0430ce57 /odin.nix
parent060294da494c0e4eb5521a12fa47a484b102536f (diff)
downloadnixos-8c9655bc533c09d772d49f0984bfc87b26768e4c.tar
nixos-8c9655bc533c09d772d49f0984bfc87b26768e4c.tar.gz
nixos-8c9655bc533c09d772d49f0984bfc87b26768e4c.tar.bz2
nixos-8c9655bc533c09d772d49f0984bfc87b26768e4c.tar.xz
nixos-8c9655bc533c09d772d49f0984bfc87b26768e4c.zip
recv on odin
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/odin.nix b/odin.nix
index a89dd776..be41b094 100644
--- a/odin.nix
+++ b/odin.nix
@@ -111,7 +111,7 @@
111 "hel" = { 111 "hel" = {
112 publicKeys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKD8ycFGfVkBL9wjA5Kc33cl6Qt5K2505G/38oH8Cy/e uucp@hel"]; 112 publicKeys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKD8ycFGfVkBL9wjA5Kc33cl6Qt5K2505G/38oH8Cy/e uucp@hel"];
113 hostnames = ["hel.asgard.yggdrasil" "hel.midgard.yggdrasil"]; 113 hostnames = ["hel.asgard.yggdrasil" "hel.midgard.yggdrasil"];
114 commands = ["rmail"]; 114 commands = ["rmail" "recv"];
115 }; 115 };
116 }; 116 };
117 117
@@ -120,9 +120,11 @@
120 remoteNodes = [ "hel" ]; 120 remoteNodes = [ "hel" ];
121 }; 121 };
122 122
123 commandPath = [ "${pkgs.rmail}/bin" ]; 123 commandPath = [ "${pkgs.rmail}/bin" config.security.wrapperDir ];
124 }; 124 };
125 125
126 programs.recv.enable = true;
127
126 users.groups."media" = { 128 users.groups."media" = {
127 members = [ "uucp" ]; 129 members = [ "uucp" ];
128 }; 130 };