From 389e55a5437df64c28a503f05a36ee9f31569789 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 17 Jun 2020 09:51:37 +0200 Subject: [PATCH] ma kdeconnect: init --- 2configs/kdeconnect.nix | 6 ++++++ 2configs/legacy_v4.nix | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 2configs/kdeconnect.nix delete mode 100644 2configs/legacy_v4.nix diff --git a/2configs/kdeconnect.nix b/2configs/kdeconnect.nix new file mode 100644 index 0000000..ca025ee --- /dev/null +++ b/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/2configs/legacy_v4.nix b/2configs/legacy_v4.nix deleted file mode 100644 index 3d40471..0000000 --- a/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" ]; -}