summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-14 13:47:04 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-14 13:47:04 +0200
commit0fae69c8f58a5cd0fb6e6440ad295db405e72165 (patch)
treee9348cc5e37aa6afa6fd2e84c48f0c378a7794f6
parenta40f77df38663d0a2bf03f45bf4e80e50f55b284 (diff)
downloadnixos-0fae69c8f58a5cd0fb6e6440ad295db405e72165.tar
nixos-0fae69c8f58a5cd0fb6e6440ad295db405e72165.tar.gz
nixos-0fae69c8f58a5cd0fb6e6440ad295db405e72165.tar.bz2
nixos-0fae69c8f58a5cd0fb6e6440ad295db405e72165.tar.xz
nixos-0fae69c8f58a5cd0fb6e6440ad295db405e72165.zip
nfs on odin
-rw-r--r--odin.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index ff34bcb7..d63554be 100644
--- a/odin.nix
+++ b/odin.nix
@@ -259,6 +259,13 @@
259 members = [ "motion" ]; 259 members = [ "motion" ];
260 }; 260 };
261 261
262 services.nfs.server = {
263 enable = true;
264 exports = ''
265 /srv/media *(ro,insecure,all_squash,no_subtree_check,mp)
266 '';
267 };
268
262 system.autoUpgrade.enable = true; 269 system.autoUpgrade.enable = true;
263 system.stateVersion = "18.09"; 270 system.stateVersion = "18.09";
264 271