diff --git a/server/configuration.org b/server/configuration.org index 8b8717f..dc22fd2 100755 --- a/server/configuration.org +++ b/server/configuration.org @@ -60,7 +60,7 @@ passwords and other secrets. #+begin_src nix imports = [ - ./hardware-configuration.nix + ./fstab.nix ./servers.nix # ./openldap.nix # diff --git a/server/hardware-configuration.nix b/server/fstab.nix similarity index 91% rename from server/hardware-configuration.nix rename to server/fstab.nix index 6868453..b1da202 100755 --- a/server/hardware-configuration.nix +++ b/server/fstab.nix @@ -140,11 +140,11 @@ server = { enable = true; exports = '' - /export 192.168.1.64(rw,fsid=0,no_subtree_check) - /export/disk1 192.168.1.64(rw,nohide,insecure,no_subtree_check) - /export/disk2 192.168.1.64(rw,nohide,insecure,no_subtree_check) - /export/seedbox 192.168.1.64(rw,nohide,insecure,no_subtree_check) - /export/jawz 192.168.1.64(rw,nohide,insecure,no_subtree_check) + /export workstation(rw,fsid=0,no_subtree_check) + /export/disk1 workstation(rw,nohide,insecure,no_subtree_check) + /export/disk2 workstation(rw,nohide,insecure,no_subtree_check) + /export/seedbox workstation(rw,nohide,insecure,no_subtree_check) + /export/jawz workstation(rw,nohide,insecure,no_subtree_check) ''; }; }; diff --git a/workstation/fstab.nix b/workstation/fstab.nix index 3d7a054..b22c8f4 100644 --- a/workstation/fstab.nix +++ b/workstation/fstab.nix @@ -33,7 +33,7 @@ fileSystems = let mount = disk: { - device = "workstation:/${disk}"; + device = "server:/${disk}"; fsType = "nfs"; }; in {