feat: helper functions; docs: more complex examples

This commit is contained in:
fufsob committed 2026-09-25 11:00:55 +00:00
1 parent 63d9dffcae
commit 878983147c
20 files changed
+1046 -19

No files matched your search

+13
View File
@@ -72,6 +72,19 @@
# without the GUI.
nixOnDroidModules.default = proxySuiteModules.nixOnDroid;
# Proxy variables and wrapEnv from an address alone: for a proxy this config does not
# run, or on system-manager and nix-on-droid, which have no config.lib.
# `proxy-suite.lib.proxyHelpers { inherit pkgs; port = 1080; }`. On NixOS and
# home-manager the module has the full set as config.lib.proxy-suite.
lib.proxyHelpers =
args:
import ./modules/proxy-suite/helpers.nix (
{
inherit (args.pkgs) lib;
}
// args
);
# Re-export zapret standalone for users who want just that.
nixosModules.zapret = zapret.nixosModules.default;