nix-config/hosts/common/global/default.nix
Lander Van den Bulcke bae53c68f0
feat: use cloudlfare dns globally
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2025-01-06 01:54:00 +01:00

33 lines
721 B
Nix

# This config will be applied to all hosts
{
inputs,
outputs,
...
}: {
imports = [
inputs.home-manager.nixosModules.home-manager
inputs.catppuccin.nixosModules.catppuccin
./locale.nix
./nh.nix
./openssh.nix
./secrets.nix
./sops.nix
];
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = {inherit inputs outputs;};
networking.domain = "lndr.be";
networking.nameservers = ["1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one"];
services.resolved = {
enable = true;
dnssec = "true";
domains = ["~."];
fallbackDns = ["1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one"];
dnsovertls = "true";
};
virtualisation.docker.enable = true;
}