Forgot to commit my stuff btw

This commit is contained in:
Andrei Jiroh Halili 2025-01-08 22:11:59 +08:00
parent 45e09b810a
commit 6cdd7640cb
15 changed files with 343 additions and 248 deletions

View file

@ -0,0 +1,10 @@
{ config, pkgs, lib, ... }:
{
hardware.bluetooth.enable = true;
hardware.bluetooth.settings = {
General = {
Enable = "Source,Sink,Media,Socket";
};
};
}

View file

@ -0,0 +1,25 @@
{ config, pkgs, lib, ... }:
{
# Open ports in the firewall.
networking.firewall.allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # used by KDE Connect
{ from = 3000; to = 3999; }
{ from = 8000; to = 8999; }
];
networking.firewall.allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # used by KDE Connect
{ from = 3000; to = 3999; }
{ from = 8000; to = 8999; }
];
networking.firewall.allowedTCPPorts = [
22
80
443
];
networking.firewall.allowedUDPPorts = [
22
80
443
];
}

View file

@ -0,0 +1,10 @@
{ config, pkgs, lib, ... }:
{
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;
# Also enable KDE Connect
programs.kdeconnect.enable = true;
}