summaryrefslogtreecommitdiff
path: root/hosts/poweredge/fileshares.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-04-11 18:12:37 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-04-11 18:12:37 -0500
commit56149ced106468a053c89d6da302d96ef990dd4b (patch)
treeb37f4649ded818b6ca31265b7d3895acb6830350 /hosts/poweredge/fileshares.nix
parenta1cff680dca67709778f160a8291ff5d77b61ee6 (diff)
downloadnixos-56149ced106468a053c89d6da302d96ef990dd4b.tar.xz
nixos-56149ced106468a053c89d6da302d96ef990dd4b.zip
poweredge updates get immich working and zfs pools and oter updates
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;
};
};