mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-10 19:18:17 +01:00
25 lines
470 B
Nix
25 lines
470 B
Nix
{ pkgs, host, options, ... }:
|
|
{
|
|
networking = {
|
|
hostName = "${host}";
|
|
networkmanager.enable = true;
|
|
timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
22
|
|
80
|
|
443
|
|
59010
|
|
59011
|
|
];
|
|
allowedUDPPorts = [
|
|
59010
|
|
59011
|
|
];
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ networkmanagerapplet ];
|
|
}
|