diff --git a/host/x86_64-linux/home/Jobber.nix b/host/x86_64-linux/home/Jobber.nix index b8ec3fd..e2a8003 100644 --- a/host/x86_64-linux/home/Jobber.nix +++ b/host/x86_64-linux/home/Jobber.nix @@ -25,6 +25,13 @@ in { hostAddress = "188.242.247.132"; localAddress = "10.1.0.2"; + bindMounts = { + "/data" = { + hostPath = "/storage/hot/data/jobber"; + isReadOnly = true; + }; + }; + config = { ... }: let packages = [ script diff --git a/package/jobber/project/jobber/__init__.py b/package/jobber/project/jobber/__init__.py index 8c4b570..95dd49e 100644 --- a/package/jobber/project/jobber/__init__.py +++ b/package/jobber/project/jobber/__init__.py @@ -29,8 +29,8 @@ URL_SCHEME = "https://" URL = "portal.fsight.ru/" # DRIVER = "/data/geckodriver" DRIVER = "geckodriver" -USERS = "/storage/hot/data/jobber/users.txt" -OVPN = "/storage/hot/data/jobber/fsight.ovpn" +USERS = "/data/users.txt" +OVPN = "/data/fsight.ovpn" BUTTON = "//*[contains(@id, '_InOutButton')]" TEXT_HERE = "Пришёл" TEXT_GONE = "Ушёл"