summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nvandoorn.com>2023-05-31 21:46:11 +0000
committerNick Van Doorn <nick@nvandoorn.com>2023-05-31 21:46:11 +0000
commit7401209e2d0abf0f2707b7e48d730e548a69a09a (patch)
tree51553966000633b10ac362aca20cd8886cd9c172
parentbc0d938f9f6fcb62081e920f2c1f690d23df79a6 (diff)
Remap SMB/AFP shares for new file system
New RAIDZ is installed! The SMB/AFP shares should point here instead.
-rw-r--r--configuration.nix44
1 files changed, 10 insertions, 34 deletions
diff --git a/configuration.nix b/configuration.nix
index 77961d4..6510a68 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -154,18 +154,13 @@
settings = {
"home" = {
- path = "/mnt/cluster1/home";
+ path = "/mnt/pool/home";
"valid users" = "nick";
};
- "media0" = {
- path = "/mnt/cluster0/media";
+ "media-libraries" = {
+ path = "/mnt/pool/media/libraries";
"valid users" = "nick";
};
- "media1" = {
- path = "/mnt/cluster1/media";
- "valid users" = "nick";
- };
-
};
};
@@ -196,34 +191,25 @@
follow symlinks = yes
'';
shares = {
- media0 = {
- path = "/mnt/cluster0/media";
- browseable = "yes";
- "valid users" = "nick";
- "read only" = "no";
- "guest ok" = "no";
- "create mask" = "0644";
- "directory mask" = "0755";
- };
- cache = {
- path = "/mnt/cache";
+ media-libraries = {
+ path = "/mnt/pool/media/libraries";
browseable = "yes";
- "valid users" = "nick";
+ "valid users" = ["nick" "peter"];
"read only" = "no";
"guest ok" = "no";
"create mask" = "0644";
"directory mask" = "0755";
};
- media1 = {
- path = "/mnt/cluster1/media";
+ home = {
+ path = "/mnt/pool/home";
browseable = "yes";
- "valid users" = "nick";
+ "valid users" = ["nick" "peter"];
"read only" = "no";
"guest ok" = "no";
"create mask" = "0644";
"directory mask" = "0755";
};
- home = {
+ oldhome = {
path = "/mnt/cluster1/home";
browseable = "yes";
"valid users" = "nick";
@@ -232,16 +218,6 @@
"create mask" = "0644";
"directory mask" = "0755";
};
- family = {
- path = "/mnt/cluster1/family";
- browseable = "yes";
- "valid users" = "nick peter";
- "read only" = "yes";
- "guest ok" = "no";
- "create mask" = "0644";
- "directory mask" = "0755";
-
- };
};
};
services.nfs.server.enable = true;