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, ... }:
|
||||||
config,
|
let
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
inputs,
|
|
||||||
nixpkgs-nixos-unstable-and-unfree,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
stateVersion = "22.05";
|
stateVersion = "22.05";
|
||||||
username = "cyryl";
|
username = "cyryl";
|
||||||
in {
|
in {
|
||||||
|
@ -57,9 +51,10 @@ in {
|
||||||
shell = pkgs.zsh;
|
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"];};
|
networking.hosts = { "10.11.99.1" = [ "remarkable" ]; };
|
||||||
|
|
||||||
programs.light.enable = true;
|
programs.light.enable = true;
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
|
@ -69,21 +64,26 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
daemon.settings = {
|
daemon.settings = {
|
||||||
"insecure-registries" = ["vpsfree1.raptor-carp.ts.net:5000"];
|
"insecure-registries" = [ "vpsfree1.raptor-carp.ts.net:5000" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultFonts.monospace = ["Berkeley Mono"];
|
defaultFonts.monospace = [ "Berkeley Mono" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs;
|
||||||
(runCommand "berkeley-fonts" {} ''
|
[
|
||||||
|
(runCommand "berkeley-fonts" { } ''
|
||||||
mkdir -vp "$out/share/fonts/opentype"
|
mkdir -vp "$out/share/fonts/opentype"
|
||||||
mkdir -vp "$out/share/fonts/truetype"
|
mkdir -vp "$out/share/fonts/truetype"
|
||||||
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.otf -d $out/share/fonts/opentype
|
${pkgs.unzip}/bin/unzip ${
|
||||||
${pkgs.unzip}/bin/unzip ${./fonts.zip} \*.ttf -d $out/share/fonts/truetype
|
./fonts.zip
|
||||||
|
} \*.otf -d $out/share/fonts/opentype
|
||||||
|
${pkgs.unzip}/bin/unzip ${
|
||||||
|
./fonts.zip
|
||||||
|
} \*.ttf -d $out/share/fonts/truetype
|
||||||
|
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
@ -99,5 +99,5 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
system = {inherit stateVersion;};
|
system = { inherit stateVersion; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue