Add frpc/frps to the system packages
This commit is contained in:
parent
8995e95041
commit
311890c861
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue