changing dns
This commit is contained in:
parent
cfe30445cb
commit
05908c445d
4 changed files with 34 additions and 3 deletions
16
flake.lock
generated
16
flake.lock
generated
|
@ -83,6 +83,21 @@
|
|||
"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": {
|
||||
"locked": {
|
||||
"lastModified": 1733328505,
|
||||
|
@ -1077,6 +1092,7 @@
|
|||
"affinity-nix": "affinity-nix",
|
||||
"emacs-lsp-booster": "emacs-lsp-booster",
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"emenel-templates": "emenel-templates",
|
||||
"home-manager": "home-manager",
|
||||
"hypridle": "hypridle",
|
||||
"hyprlock": "hyprlock",
|
||||
|
|
|
@ -81,6 +81,8 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
emenel-templates.url = "git+ssh://git@gt.emenel.ca/emenel/nix-flake-templates";
|
||||
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
GSK_RENDERER = "ngl";
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
LSP_USE_PLISTS = "true";
|
||||
NH_FLAKE = "\${HOME}/source/nixos-config";
|
||||
};
|
||||
|
||||
stateVersion = "24.05";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue