mirror of
https://github.com/0x1d/nix.git
synced 2025-12-15 14:18:23 +01:00
initial commit
This commit is contained in:
20
os/system/network.nix
Normal file
20
os/system/network.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ pkgs, ... }: {
|
||||
|
||||
networking = {
|
||||
|
||||
hostName = "nixos";
|
||||
networkmanager.enable = true;
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user