aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-12-14 15:24:42 +0100
committerKarel Kočí <cynerd@email.cz>2022-12-14 15:24:42 +0100
commitd7e20342a2fed30403603987728ddf7138858f4d (patch)
tree68f5c03e4a0b4baabbf5166c58d5ce948c4fab23 /nixos/machine
parentc8fce8af5101064ea3dcfcb9d2bc39f1b9b83755 (diff)
downloadnixos-personal-d7e20342a2fed30403603987728ddf7138858f4d.tar.gz
nixos-personal-d7e20342a2fed30403603987728ddf7138858f4d.tar.bz2
nixos-personal-d7e20342a2fed30403603987728ddf7138858f4d.zip
lipwig: add NAS
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/lipwig.nix13
1 files changed, 12 insertions, 1 deletions
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 = {