This repository has no description
0

Configure Feed

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

superconfig / 2configs / shadowsocks.nix
568 B 21 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 prompts.password = { 11 description = "please enter your shadowsocks password"; 12 type = "hidden"; 13 }; 14 runtimeInputs = with pkgs; [ 15 coreutils 16 ]; 17 script = '' 18 cp "$prompts"/password "$out"/shadowsocks_password 19 ''; 20 }; 21}