From 5cd6756ceda7da9bfc467a7e2275d2a6a8bd1a80 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 17 Jun 2020 09:51:37 +0200 Subject: [PATCH] ma kdeconnect: init --- makefu/2configs/kdeconnect.nix | 6 ++++++ makefu/2configs/legacy_v4.nix | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 makefu/2configs/kdeconnect.nix delete mode 100644 makefu/2configs/legacy_v4.nix 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" ]; -}