diff --git a/flake.nix b/flake.nix index e057262..f0718c0 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ # My zeroq.url = "path:./modules/zeroq"; # flake of variables - zeroq-credentials.url = "git+ssh://git@github.com/oqyude/zeroq-credentials.git"; # flake of variables + zeroq-credentials.url = "git+ssh://git@github.com/oqyude/zeroq-credentials.git"; # flake of creds zapret.url = "github:oqyude/zapret-easyflake"; # stupid flake of zapret # nixpkgs diff --git a/modules/server/xray.nix b/modules/server/xray.nix index 5cca0ed..3d69e81 100644 --- a/modules/server/xray.nix +++ b/modules/server/xray.nix @@ -8,8 +8,7 @@ { services.xray = { enable = true; - settings = import "${inputs.zeroq-credentials}/services/xray/config.nix"; - #settingsFile = "/etc/xray/config.json"; + settings = inputs.zeroq-credentials.services.xray; }; networking.firewall = {