added readme and comments for part 1

This commit is contained in:
2026-10-17 18:41:53 +01:00
parent 468eedf901
commit 0e3718ab22
12 changed files with 85 additions and 5 deletions

View File

@@ -1,17 +1,25 @@
{...}: {
# Define flake part nixosModule "networking"
flake.nixosModules.networking = {...}: {
# Normal nix code
networking = {
# Enable networkManager
networkmanager = {
enable = true;
# Disable router dns
dns = "none";
};
# cloudflare nameservers
nameservers = [
"1.1.1.1"
"8.8.8.8"
];
# disable firewall
firewall.enable = false;
};
# Disable "wait-online" target, makes connecting to network
# async on boot
systemd.services.NetworkManager-wait-online.enable = false;
};
}