This repository has no description
0

Configure Feed

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

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