summaryrefslogtreecommitdiff
path: root/hosts/poweredge/fileshares.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/poweredge/fileshares.nix')
-rw-r--r--hosts/poweredge/fileshares.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/hosts/poweredge/fileshares.nix b/hosts/poweredge/fileshares.nix
index 4593ef8..90b738c 100644
--- a/hosts/poweredge/fileshares.nix
+++ b/hosts/poweredge/fileshares.nix
@@ -1,9 +1,11 @@
{
- # TODO make user for ps2
+ # Import zfs pools
+ boot.zfs.extraPools = [ "ingens" "memoria" ];
+
services._fileShares.enable = true;
services._fileShares.shares = {
PS2 = {
- path = "/media/storage/games/ps2";
+ path = "/media/ingens/games/ps2";
smb = {
enable = true;
allowUser = "ps2";
@@ -14,19 +16,19 @@
};
};
WinBackups = {
- path = "/media/storage/backups/windows";
+ path = "/media/ingens/backups/windows";
smb.enable = true;
};
pictures = {
- path = "/media/storage/pictures";
+ path = "/media/ingens/pictures";
nfs.enable = true;
};
tapes = {
- path = "/media/storage/tapes";
+ path = "/media/ingens/tapes";
nfs.enable = true;
};
backups = {
- path = "/media/storage/backups";
+ path = "/media/ingens/backups";
nfs.enable = true;
};
};