change to quad9 dns servers

This commit is contained in:
Cyryl Płotnicki 2023-01-01 11:32:04 +00:00
parent 7ce20c3d2c
commit 4480f48f89

View file

@ -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
'')
];