From 3141590096b1bc5d4c9d3dfea774d8a3089bd7b2 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 15 Jun 2026 15:10:30 -0500 Subject: update fileshares module --- hosts/poweredge/fileshares.nix | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'hosts/poweredge') diff --git a/hosts/poweredge/fileshares.nix b/hosts/poweredge/fileshares.nix index 8c3c9a0..c5fca71 100644 --- a/hosts/poweredge/fileshares.nix +++ b/hosts/poweredge/fileshares.nix @@ -1,5 +1,11 @@ { - services._fileShares.enable = true; + # Configure services + services._fileShares = { + enable = true; + smb.openFirewall = true; + nfs.openFirewall = true; + }; + # Shares services._fileShares.shares = { PS2 = { path = "/media/ingens/games/ps2"; @@ -23,6 +29,7 @@ tapes = { path = "/media/ingens/tapes"; nfs.enable = true; + smb.enable = true; }; backups = { path = "/media/ingens/backups"; @@ -30,14 +37,11 @@ }; }; - users.users = { - ps2 = { - isSystemUser = true; - password = "ps2"; - group = "ps2"; - }; - }; - users.groups = { - ps2 = {}; + # ps2 user + users.users.ps2 = { + isSystemUser = true; + password = "ps2"; + group = "ps2"; }; + users.groups.ps2 = {}; } -- cgit v1.2.3