diff options
author | makefu <github@syntax-fehler.de> | 2018-09-17 00:31:21 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-09-17 00:31:21 +0200 |
commit | 97012c2e2054e98bf87cb9b480e89317e715f5c7 (patch) | |
tree | 50a81a57e5c9effea69904eab514dcad450f33d4 /makefu/2configs | |
parent | 1424c4cdb66848005d84b153cc98d2047bbd30b2 (diff) |
ma retroshare: prepare installation
retroshare somewhat sucks though ;)
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/retroshare.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/makefu/2configs/retroshare.nix b/makefu/2configs/retroshare.nix new file mode 100644 index 000000000..4d2fc6af9 --- /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 ]; +} |