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
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
}

View File

@ -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