flocon/modules/nix/core/networking.nix
Anthony Rodriguez 99b6b41de3
treewide: migrate config/system/core to modules
Moved everything from core into modules. I want to get all the NixOS
stuff moved first, and do home-manager after. I used the different
profiles to disable configuration that might break my server, as it has
its own configuration already. This will need to be refactored later, as
I want to ultimately only use the local module system.
2025-01-14 12:01:33 +01:00

9 lines
150 B
Nix

{
lib,
config,
...
}: {
config = lib.mkIf (!config.local.profiles.server.enable) {
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
};
}