change to quad9 dns servers
This commit is contained in:
parent
7ce20c3d2c
commit
4480f48f89
1 changed files with 21 additions and 21 deletions
|
@ -1,11 +1,5 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
nixpkgs-nixos-unstable-and-unfree,
|
||||
...
|
||||
}: let
|
||||
{ config, pkgs, lib, inputs, nixpkgs-nixos-unstable-and-unfree, ... }:
|
||||
let
|
||||
stateVersion = "22.05";
|
||||
username = "cyryl";
|
||||
in {
|
||||
|
@ -57,7 +51,8 @@ in {
|
|||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
networking.nameservers = ["91.239.100.100" "89.233.43.71" "1.1.1.1" "8.8.8.8"];
|
||||
networking.nameservers =
|
||||
[ "9.9.9.9" "2620:fe::fe" "149.112.112.112" "2620:fe::9" ];
|
||||
|
||||
networking.hosts = { "10.11.99.1" = [ "remarkable" ]; };
|
||||
|
||||
|
@ -78,12 +73,17 @@ in {
|
|||
defaultFonts.monospace = [ "Berkeley Mono" ];
|
||||
};
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
fonts.fonts = with pkgs;
|
||||
[
|
||||
(runCommand "berkeley-fonts" { } ''
|
||||
mkdir -vp "$out/share/fonts/opentype"
|
||||
mkdir -vp "$out/share/fonts/truetype"
|
||||
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.otf -d $out/share/fonts/opentype
|
||||
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.ttf -d $out/share/fonts/truetype
|
||||
${pkgs.unzip}/bin/unzip ${
|
||||
./fonts.zip
|
||||
} \*.otf -d $out/share/fonts/opentype
|
||||
${pkgs.unzip}/bin/unzip ${
|
||||
./fonts.zip
|
||||
} \*.ttf -d $out/share/fonts/truetype
|
||||
|
||||
'')
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue