This repository has no description
0

Configure Feed

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

machines.neoprism: add shadowsocks service

+20
+19
2configs/shadowsocks.nix
··· 1 + { config, pkgs, ... }: { 2 + services.shadowsocks = { 3 + enable = true; 4 + passwordFile = config.clanCore.secrets.shadowsocks.secrets.shadowsocks_password.path; 5 + }; 6 + networking.firewall.allowedTCPPorts = [ 8388 ]; 7 + clanCore.secrets.shadowsocks = { 8 + secrets."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 + }
+1
machines/neoprism/config.nix
··· 11 11 ../../2configs/monitoring/telegraf.nix 12 12 ../../2configs/pair-programming.nix 13 13 ../../2configs/nginx.nix 14 + ../../2configs/shadowsocks.nix 14 15 15 16 # sync-containers 16 17 ../../2configs/consul.nix