update system

This commit is contained in:
2025-05-04 12:57:55 +02:00
parent df0600601b
commit 34a7ef00fd
18 changed files with 717 additions and 81 deletions

View File

@@ -0,0 +1,28 @@
{
config,
lib,
username,
...
}:
let
cfg = config.shell.components.kde-connect;
in
{
options.shell.components.kde-connect = {
enable = lib.mkEnableOption (lib.mdDoc "Enable a pre-configured kde connect setup");
};
config = lib.mkIf cfg.enable {
home-manager.users.${username}.services.kdeconnect.enable = true;
networking.firewall = rec {
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedUDPPortRanges = allowedTCPPortRanges;
};
};
}