changing dns

This commit is contained in:
Matt Nish-Lapidus 2025-03-07 18:52:59 -05:00
parent cfe30445cb
commit 05908c445d
4 changed files with 34 additions and 3 deletions

View file

@ -2,6 +2,7 @@
nix-config,
config,
pkgs,
nixpkgs,
inputs,
...
}:
@ -48,6 +49,8 @@
];
};
# environment.etc."nix/inputs/nixpkgs".source = "${nixpkgs}";
nix = {
settings = {
experimental-features = [
@ -62,8 +65,17 @@
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
nix-path = [ "nixpkgs=${inputs.nixpkgs}" ];
# nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs";
};
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
registry = {
nixpkgs.flake = inputs.nixpkgs;
emenel-templates.flake = inputs.emenel-templates;
};
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
};
# Set your time zone.
@ -350,8 +362,8 @@
hostName = "eddie";
domain = "local";
nameservers = [
"1.1.1.1"
"1.0.0.1"
"95.85.95.85"
"2.56.220.2"
];
networkmanager = {
enable = true;