19 lines
349 B
Nix
19 lines
349 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
services.proxy-suite = {
|
|
enable = true;
|
|
proxy.enable = true;
|
|
amneziaWg = {
|
|
enable = true;
|
|
profiles.de = {
|
|
configFile = "/run/secrets/de-awg.conf";
|
|
asOutbound = "interface";
|
|
};
|
|
};
|
|
perAppRouting = {
|
|
enable = true;
|
|
profiles = [ { name = "games"; outbound = "de"; } ];
|
|
};
|
|
};
|
|
}
|