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

16
flake.lock generated
View file

@ -83,6 +83,21 @@
"type": "github" "type": "github"
} }
}, },
"emenel-templates": {
"locked": {
"lastModified": 1741380318,
"narHash": "sha256-C0HpGd73NBqMUjOTLJWmSBBpTiFPwetmgV182WBNrFQ=",
"ref": "refs/heads/main",
"rev": "de41a02caa5d87aabaaf56600dc3fe71b995821d",
"revCount": 1,
"type": "git",
"url": "ssh://git@gt.emenel.ca/emenel/nix-flake-templates"
},
"original": {
"type": "git",
"url": "ssh://git@gt.emenel.ca/emenel/nix-flake-templates"
}
},
"flake-compat": { "flake-compat": {
"locked": { "locked": {
"lastModified": 1733328505, "lastModified": 1733328505,
@ -1077,6 +1092,7 @@
"affinity-nix": "affinity-nix", "affinity-nix": "affinity-nix",
"emacs-lsp-booster": "emacs-lsp-booster", "emacs-lsp-booster": "emacs-lsp-booster",
"emacs-overlay": "emacs-overlay", "emacs-overlay": "emacs-overlay",
"emenel-templates": "emenel-templates",
"home-manager": "home-manager", "home-manager": "home-manager",
"hypridle": "hypridle", "hypridle": "hypridle",
"hyprlock": "hyprlock", "hyprlock": "hyprlock",

View file

@ -81,6 +81,8 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
emenel-templates.url = "git+ssh://git@gt.emenel.ca/emenel/nix-flake-templates";
}; };
outputs = outputs =

View file

@ -66,6 +66,7 @@
GSK_RENDERER = "ngl"; GSK_RENDERER = "ngl";
MOZ_ENABLE_WAYLAND = 1; MOZ_ENABLE_WAYLAND = 1;
LSP_USE_PLISTS = "true"; LSP_USE_PLISTS = "true";
NH_FLAKE = "\${HOME}/source/nixos-config";
}; };
stateVersion = "24.05"; stateVersion = "24.05";

View file

@ -2,6 +2,7 @@
nix-config, nix-config,
config, config,
pkgs, pkgs,
nixpkgs,
inputs, inputs,
... ...
}: }:
@ -48,6 +49,8 @@
]; ];
}; };
# environment.etc."nix/inputs/nixpkgs".source = "${nixpkgs}";
nix = { nix = {
settings = { settings = {
experimental-features = [ experimental-features = [
@ -62,8 +65,17 @@
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" "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. # Set your time zone.
@ -350,8 +362,8 @@
hostName = "eddie"; hostName = "eddie";
domain = "local"; domain = "local";
nameservers = [ nameservers = [
"1.1.1.1" "95.85.95.85"
"1.0.0.1" "2.56.220.2"
]; ];
networkmanager = { networkmanager = {
enable = true; enable = true;