{ # TODO make user for ps2 services._fileShares.enable = true; services._fileShares.shares = { PS2 = { path = "/media/storage/games/ps2"; smb = { enable = true; allowUser = "ps2"; extraOptions = { "min protocol" = "NT1"; "max protocol" = "NT1"; }; }; }; WinBackups = { path = "/media/storage/backups/windows"; smb.enable = true; }; pictures = { path = "/media/storage/pictures"; nfs.enable = true; }; tapes = { path = "/media/storage/tapes"; nfs.enable = true; }; backups = { path = "/media/storage/backups"; nfs.enable = true; }; }; users.users = { ps2 = { isSystemUser = true; password = "ps2"; group = "ps2"; }; }; users.groups = { ps2 = {}; }; }