mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-19 03:53:09 +00:00
Forgot to commit my stuff btw
This commit is contained in:
parent
45e09b810a
commit
6cdd7640cb
15 changed files with 343 additions and 248 deletions
10
.config/nixos/shared/desktop/bluetooth.nix
Normal file
10
.config/nixos/shared/desktop/bluetooth.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.settings = {
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
};
|
||||
};
|
||||
}
|
25
.config/nixos/shared/desktop/firewall.nix
Normal file
25
.config/nixos/shared/desktop/firewall.nix
Normal 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
|
||||
];
|
||||
}
|
10
.config/nixos/shared/desktop/kde-plasma.nix
Normal file
10
.config/nixos/shared/desktop/kde-plasma.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue