Add frpc/frps to the system packages

This commit is contained in:
Eli Ribble 2025-10-13 17:10:22 +00:00
parent 8995e95041
commit 311890c861

View file

@ -3,6 +3,11 @@ with lib;
{
options.myModules.frps.enable = mkEnableOption "custom frps configuration";
config = mkIf config.myModules.frps.enable {
environment.etc."frps.toml".source = "${configFiles}/frps/frps.toml";
environment = {
etc."frps.toml".source = "${configFiles}/frps/frps.toml";
systemPackages = [
pkgs.frp
];
};
};
}