Make VPN list via flake

Wow, I didn't know I can do this...
This commit is contained in:
2026-03-11 18:27:49 +03:00
parent efc3a7fbc8
commit 258a155c00
3 changed files with 25 additions and 8 deletions
+2 -7
View File
@@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ inputs, pkgs, config, ... }: {
systemd.services.v2raya = {
enable = true;
description = "v2rayA gui client";
@@ -17,12 +17,7 @@
};
environment.etc = {
"v2raya/ru_geoip.dat".source = pkgs.fetchurl {
name = "geoip.dat";
url = "https://github.com/runetfreedom/russia-blocked-geoip/releases/download/202603040949/geoip.dat";
hash = "sha256-TmWQqoC26+vrJ2xaRrIiPM2kp9xhrw9h9H8yjq4CA7U=";
};
"v2raya/ru_geoip.dat".source = "${inputs.russia-blocked-geoip}/geoip.dat";
"v2raya/bolt.db".source = config.sops.secrets.vpn_bolt.path;
};
}