refactor: reorganize module layout
This commit is contained in:
1 parent
9a6bbc26c1
commit
0431bce152
63 files changed
+323
No files matched your search
@@ -0,0 +1,16 @@
|
||||
{
|
||||
den.aspects.dns = {
|
||||
nixos = { config, lib, ... }: {
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
dns = lib.mkIf config.services.crab-hole.enable "none";
|
||||
};
|
||||
|
||||
nameservers = if config.services.crab-hole.enable
|
||||
then [ "127.0.0.1" "::1" ]
|
||||
else [ "1.1.1.1" "1.0.0.1" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user