mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
17 lines
446 B
Nix
17 lines
446 B
Nix
{ config, lib, pkgs, user, inputs, ... }:
|
|
|
|
let cfg = config.modules.desktop.gnome;
|
|
in {
|
|
config = lib.mkIf cfg.enable {
|
|
networking.firewall = rec {
|
|
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
|
|
allowedUDPPortRanges = allowedTCPPortRanges;
|
|
};
|
|
|
|
programs.kdeconnect = {
|
|
enable = true;
|
|
package = pkgs.valent; # Implementation of the KDE Connect protocol, built on GNOME platform libraries
|
|
};
|
|
};
|
|
}
|