holy shit im stupid, a lot of changes.

also added the configuration bc idk how to add only certain files but
whatever
This commit is contained in:
2026-07-05 23:42:52 -05:00
parent 4f9269315b
commit 4e925f8a89
10 changed files with 40 additions and 50 deletions
+6 -6
View File
@@ -3,24 +3,24 @@ let
cfg = config.homelab.networking.core;
in
{
config = {
imports = [
./firewall.nix
];
imports = [
./firewall.nix
];
config = {
networking = {
networkmanager = {
enable = true;
dns = "systemd-resolved";
};
networking.extraHosts = lib.concatMapStringsSep "\n" (
extraHosts = lib.concatMapStringsSep "\n" (
host: "${host.ip_address} ${host.hostname}"
) cfg.extraHosts;
nftables.enable = true;
nameservers = config.core.nameservers;
nameservers = cfg.nameservers;
};
services.resolved = {