🧹 Moved almost all files to /modules. Moved some code to separate files

This commit is contained in:
2025-01-05 19:14:37 +01:00
parent f0ac3a7705
commit b30376cdcf
101 changed files with 133 additions and 102 deletions

20
modules/networking.nix Normal file
View File

@ -0,0 +1,20 @@
{ ... }:
{
networking = {
networkmanager.enable = true;
hostName = "nixos";
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
};
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
services.tailscale.enable = true;
}