From ae1a225869371ddeeba0948c15492bedfb0bdd32 Mon Sep 17 00:00:00 2001
From: root <root@fudo.org>
Date: Fri, 2 Apr 2021 21:08:01 +0000
Subject: [PATCH] add network mounts

---
 config/sites/seattle.nix | 42 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/config/sites/seattle.nix b/config/sites/seattle.nix
index b352f09..0fd0a52 100644
--- a/config/sites/seattle.nix
+++ b/config/sites/seattle.nix
@@ -1,6 +1,46 @@
 { config, lib, pkgs, ... }:
 
-{
+let
+  local-domain = "sea.fudo.org";
+in {
+  fileSystems = {
+    "/mnt/documents" = {
+      device = "whitedwarf.${local-domain}:/volume1/Documents";
+      fsType = "nfs4";
+    };
+    "/mnt/downloads" = {
+      device = "whitedwarf.${local-domain}:/volume1/Downloads";
+      fsType = "nfs4";
+    };
+    "/mnt/music" = {
+      device = "doraemon.${local-domain}:/volume1/Music";
+      fsType = "nfs4";
+    };
+    "/mnt/video" = {
+      device = "doraemon.${local-domain}:/volume1/Video";
+      fsType = "nfs4";
+    };
+    # fileSystems."/mnt/security" = {
+    #   device = "panopticon.${local-domain}:/srv/kerberos/data";
+    #   fsType = "nfs4";
+    # };
+    "/mnt/cargo_video" = {
+      device = "cargo.${local-domain}:/volume1/video";
+      fsType = "nfs4";
+    };
+    "/mnt/photo" = {
+      device = "cargo.${local-domain}:/volume1/pictures";
+      fsType = "nfs4";
+    };
+  };
+
+  services.printing = {
+    enable = true;
+    drivers = [
+      pkgs.hll2380dw-cups
+    ];
+  };
+  
   environment.systemPackages = with pkgs; [
     hll2380dw-cups
   ];