summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/retroshare.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-17 00:31:21 +0200
committermakefu <github@syntax-fehler.de>2018-09-17 00:31:21 +0200
commit97012c2e2054e98bf87cb9b480e89317e715f5c7 (patch)
tree50a81a57e5c9effea69904eab514dcad450f33d4 /makefu/2configs/retroshare.nix
parent1424c4cdb66848005d84b153cc98d2047bbd30b2 (diff)
ma retroshare: prepare installation
retroshare somewhat sucks though ;)
Diffstat (limited to 'makefu/2configs/retroshare.nix')
-rw-r--r--makefu/2configs/retroshare.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefu/2configs/retroshare.nix b/makefu/2configs/retroshare.nix
new file mode 100644
index 00000000..4d2fc6af
--- /dev/null
+++ b/makefu/2configs/retroshare.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+let
+ port = 9024;
+in {
+ users.users.makefu.packages = [
+ pkgs.retroshare
+ ];
+ networking.firewall.allowedTCPPorts = [ port ];
+ networking.firewall.allowedUDPPorts = [ port ];
+}