summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-06-17 09:51:37 +0200
committermakefu <github@syntax-fehler.de>2020-06-17 09:51:37 +0200
commit5cd6756ceda7da9bfc467a7e2275d2a6a8bd1a80 (patch)
tree51759755d01944130705b7d60c8061515f9f2737 /makefu/2configs
parent9d5f48c288c35670af59964cb8160dd3a9d02762 (diff)
ma kdeconnect: init
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/kdeconnect.nix6
-rw-r--r--makefu/2configs/legacy_v4.nix8
2 files changed, 6 insertions, 8 deletions
diff --git a/makefu/2configs/kdeconnect.nix b/makefu/2configs/kdeconnect.nix
new file mode 100644
index 000000000..ca025ee43
--- /dev/null
+++ b/makefu/2configs/kdeconnect.nix
@@ -0,0 +1,6 @@
+{pkgs, ... }:
+{
+ environment.systemPackages = with pkgs; [ kdeconnect ];
+ networking.firewall.allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
+ networking.firewall.allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
+}
diff --git a/makefu/2configs/legacy_v4.nix b/makefu/2configs/legacy_v4.nix
deleted file mode 100644
index 3d40471ba..000000000
--- a/makefu/2configs/legacy_v4.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ networking.enableIPv6 = false;
- boot.kernel.sysctl = {
- "net.ipv6.conf.all.disable_ipv6" = 1;
- "net.ipv6.conf.default.disable_ipv6" = 1;
- "net.ipv6.conf.lo.disable_ipv6" = 1;
- };
- boot.kernelParams = [ "ipv6.disable=1" ];
-}