This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / 2configs / shadowsocks.nix
601 B 22 lines
1{ config, pkgs, ... }: 2{ 3 services.shadowsocks = { 4 enable = true; 5 passwordFile = config.clan.core.vars.generators.shadowsocks.files.shadowsocks_password.path; 6 }; 7 networking.firewall.allowedTCPPorts = [ 8388 ]; 8 clan.core.vars.generators.shadowsocks = { 9 files."shadowsocks_password" = { }; 10 migrateFact = "shadowsocks"; 11 prompts.password = { 12 description = "please enter your shadowsocks password"; 13 type = "hidden"; 14 }; 15 runtimeInputs = with pkgs; [ 16 coreutils 17 ]; 18 script = '' 19 cp "$prompts"/password "$out"/shadowsocks_password 20 ''; 21 }; 22}