Commit 064a3e1
Changed files (2)
modules
desktop
apps
hosts
chaser-kevin
modules/desktop/apps/kdeconnect.nix
@@ -1,4 +1,21 @@
{
+ flake.modules.nixos.desktop = _: {
+ networking.firewall = {
+ allowedTCPPortRanges = [
+ {
+ from = 1714;
+ to = 1764;
+ }
+ ];
+ allowedUDPPortRanges = [
+ {
+ from = 1714;
+ to = 1764;
+ }
+ ];
+ };
+ };
+
flake.modules.homeManager.desktop = {osConfig, ...}: {
services.kdeconnect = {
enable = true;
modules/hosts/chaser-kevin/networking.nix
@@ -1,7 +1,13 @@
-{
- flake.modules.nixos."hosts/kevin" = _: {
+{lib, ...}: {
+ flake.modules.nixos."hosts/kevin" = {config, ...}: {
networking = {
networkmanager.enable = true;
+ interfaces."wlp0s20f3" = {};
+ };
+
+ services.avahi = lib.mkIf config.services.desktopManager.plasma6.enable {
+ enable = true;
+ openFirewall = true;
};
};
}