diff --git a/hosts/yodaNas/host-specific.nix b/hosts/yodaNas/host-specific.nix index b1d7bb6..7a952cf 100644 --- a/hosts/yodaNas/host-specific.nix +++ b/hosts/yodaNas/host-specific.nix @@ -1,21 +1,10 @@ { config, pkgs, ... }: { imports = [ + ../../modules/snowflake.nix ./syncthing.nix ]; - # Operating a Snowflake proxy helps others circumvent censorship. - # Safe to run. - # https://wiki.nixos.org/w/index.php?title=Tor - # - # TODO: Check if working. - # systemctl status snowflake-proxy.service - # - # Enable snowflake-proxy, a system to defeat internet censorship. - services.snowflake-proxy.enable = true; - # Maximum concurrent clients allowed. - services.snowflake-proxy.capacity = 10; - # Update and start Jinja-Compose project # during boot and after every 30 minutes. # To view the log, run diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 5b1453f..6cb5952 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -84,5 +84,11 @@ #../../modules/virt-manager.nix ../../modules/docker.nix ../../modules/docker-pushrm.nix + + # + # Activism + # + + ../../modules/snowflake.nix ]; } diff --git a/modules/snowflake.nix b/modules/snowflake.nix new file mode 100644 index 0000000..b5b798d --- /dev/null +++ b/modules/snowflake.nix @@ -0,0 +1,15 @@ +{ config, ... }: +{ + # Operating a Snowflake proxy helps others circumvent censorship. + # Safe to run. + # https://wiki.nixos.org/w/index.php?title=Tor + # + # Monitoring + # - systemctl status snowflake-proxy.service + # - https://codeberg.org/privacy1st/snowflake-stats + + # Enable snowflake-proxy, a system to defeat internet censorship. + services.snowflake-proxy.enable = true; + # Maximum concurrent clients allowed. + services.snowflake-proxy.capacity = 10; +} \ No newline at end of file