fully configure dunst and kdeconnect

This commit is contained in:
stupidcomputer 2024-08-11 14:23:01 -05:00
parent 85bf27d8b3
commit 07980aa0db
2 changed files with 15 additions and 0 deletions

View File

@ -41,6 +41,9 @@
pciutils pciutils
usbutils usbutils
pwvucontrol pwvucontrol
dunst
libnotify
]; ];
services.hardware.bolt.enable = true; # thunderbolt support services.hardware.bolt.enable = true; # thunderbolt support
@ -48,6 +51,7 @@
enable = true; enable = true;
settings = { settings = {
General = { General = {
AutoEnable = true;
Enable = "Source,Sink,Media,Socket"; Enable = "Source,Sink,Media,Socket";
ControllerMode = "bredr"; ControllerMode = "bredr";
}; };
@ -87,8 +91,16 @@
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 6000 ]; 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 system.stateVersion = "24.05"; # don't change this, lol
} }

View File

@ -179,6 +179,9 @@ case "$(hostname)" in
bspc monitor HDMI-1-2 -d 9 bspc monitor HDMI-1-2 -d 9
;; ;;
esac esac
dunst & disown
dbus-launch kdeonnect-indicator & disown
;;
esac esac
# initial post-wm setup # initial post-wm setup