Enable KDE Connect and refresh dependencies

- Turn on KDE Connect for desktop and laptop configurations
- Add allowed TCP and UDP port ranges (1714‑1764) for KDE Connect
- Update flake.lock with newer revisions, hashes, and add secondary
  inputs
- Set nh program package explicitly
- Adjust GTK settings for dark theme handling
- Disable KDE Connect indicator in service config
- Refactor noctalia plugins to use a shared source URL, add kde‑connect
  plugin, bump version
- Add KDE Connect widget to the right bar
- Remove always_allow_tool_actions from Zed agent settings
This commit is contained in:
2026-03-22 22:08:09 +01:00
parent 38f618f8c7
commit a435b7d0cc
10 changed files with 107 additions and 41 deletions

View File

@@ -4,11 +4,12 @@
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4 = {
theme = null;
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
};
}

View File

@@ -6,9 +6,11 @@
}: {
options.kdeconnect.enable = lib.mkEnableOption "KDE Connect";
config.services.kdeconnect = lib.mkIf config.kdeconnect.enable {
enable = true;
indicator = true;
package = pkgs.kdePackages.kdeconnect-kde;
config = {
services.kdeconnect = lib.mkIf config.kdeconnect.enable {
enable = true;
indicator = false;
package = pkgs.kdePackages.kdeconnect-kde;
};
};
}

View File

@@ -1,28 +1,34 @@
{lib, ...}: {
{lib, ...}: let
sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins";
in {
programs.noctalia-shell = lib.mkForce {
plugins = {
sources = [
{
enabled = true;
name = "Noctalia Plugins";
url = "https://github.com/noctalia-dev/noctalia-plugins";
url = sourceUrl;
}
];
states = {
mini-docker = {
enabled = true;
sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins";
sourceUrl = sourceUrl;
};
timer = {
enabled = true;
sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins";
sourceUrl = sourceUrl;
};
keybind-cheatsheet = {
enabled = true;
sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins";
sourceUrl = sourceUrl;
};
kde-connect = {
enabled = true;
sourceUrl = sourceUrl;
};
};
version = 1;
version = 2;
};
pluginSettings = {
mini-docker.refreshInterval = 5000;
@@ -36,6 +42,9 @@
columnCount = 2;
autoHeight = true;
};
kde-connect = {
hideIfNoDeviceConnected = true;
};
};
};
}

View File

@@ -27,6 +27,9 @@
showUnreadBadge = true;
unreadBadgeColor = "primary";
}
{
id = "plugin:kde-connect";
}
{
id = "Bluetooth";
displayMode = "onhover";

View File

@@ -1,6 +1,5 @@
_: {
programs.zed-editor.userSettings.agent = {
always_allow_tool_actions = true;
default_profile = "ask";
default_model = {
provider = "Cerebras PAUG";