From 07980aa0dbff4a44793eca2d51384622ba41653f Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sun, 11 Aug 2024 14:23:01 -0500 Subject: [PATCH] fully configure dunst and kdeconnect --- boxes/copernicus/default.nix | 12 ++++++++++++ builds/utils/disp | 3 +++ 2 files changed, 15 insertions(+) diff --git a/boxes/copernicus/default.nix b/boxes/copernicus/default.nix index 50ce153..b5508b2 100644 --- a/boxes/copernicus/default.nix +++ b/boxes/copernicus/default.nix @@ -41,6 +41,9 @@ pciutils usbutils pwvucontrol + + dunst + libnotify ]; services.hardware.bolt.enable = true; # thunderbolt support @@ -48,6 +51,7 @@ enable = true; settings = { General = { + AutoEnable = true; Enable = "Source,Sink,Media,Socket"; ControllerMode = "bredr"; }; @@ -87,8 +91,16 @@ firewall = { enable = true; allowedTCPPorts = [ 6000 ]; + allowedTCPPortRanges = [ + { from = 1714; to = 1764; } # KDE Connect + ]; + allowedUDPPortRanges = [ + { from = 1714; to = 1764; } # KDE Connect + ]; }; }; + programs.kdeconnect.enable = true; + system.stateVersion = "24.05"; # don't change this, lol } diff --git a/builds/utils/disp b/builds/utils/disp index df43a4c..4c6ae30 100755 --- a/builds/utils/disp +++ b/builds/utils/disp @@ -179,6 +179,9 @@ case "$(hostname)" in bspc monitor HDMI-1-2 -d 9 ;; esac + dunst & disown + dbus-launch kdeonnect-indicator & disown + ;; esac # initial post-wm setup