mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 05:56:51 +01:00
21 lines
329 B
Nix
21 lines
329 B
Nix
{ pkgs, ... }: {
|
|
|
|
networking = {
|
|
|
|
hostName = "nixos";
|
|
networkmanager.enable = true;
|
|
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPortRanges = [
|
|
{ from = 1714; to = 1764; } # KDE Connect
|
|
];
|
|
allowedUDPPortRanges = [
|
|
{ from = 1714; to = 1764; } # KDE Connect
|
|
];
|
|
};
|
|
|
|
};
|
|
|
|
}
|