This repository has no description
0

Configure Feed

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

superconfig / 2configs / shadowsocks.nix
539 B 19 lines
1{ config, pkgs, ... }: { 2 services.shadowsocks = { 3 enable = true; 4 passwordFile = config.clanCore.facts.services.shadowsocks.secret.shadowsocks_password.path; 5 }; 6 networking.firewall.allowedTCPPorts = [ 8388 ]; 7 clanCore.facts.services.shadowsocks = { 8 secret."shadowsocks_password" = { }; 9 generator = { 10 prompt = "please enter your shadowsocks password"; 11 path = with pkgs; [ 12 coreutils 13 ]; 14 script = '' 15 echo "$prompt_value" > "$secrets"/shadowsocks_password 16 ''; 17 }; 18 }; 19}