From d7e20342a2fed30403603987728ddf7138858f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 14 Dec 2022 15:24:42 +0100 Subject: lipwig: add NAS --- nixos/machine/lipwig.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nixos/machine/lipwig.nix b/nixos/machine/lipwig.nix index 8a7e9a6..ef90385 100644 --- a/nixos/machine/lipwig.nix +++ b/nixos/machine/lipwig.nix @@ -5,7 +5,18 @@ with lib; { config = { - cynerd.openvpn.personal = true; + cynerd = { + syncthing = { + #enable = true; + baseDir = "/nas"; + }; + openvpn.personal = true; + }; + + fileSystems."/nas" = { + device = "172.16.128.63:/nas/2682"; + fsType = "nfs"; + }; # Git ###################################################################### services.gitolite = { -- cgit v1.2.3