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,9 +51,10 @@ 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"];};
|
||||
networking.hosts = { "10.11.99.1" = [ "remarkable" ]; };
|
||||
|
||||
programs.light.enable = true;
|
||||
programs.adb.enable = true;
|
||||
|
@ -69,24 +64,29 @@ in {
|
|||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
daemon.settings = {
|
||||
"insecure-registries" = ["vpsfree1.raptor-carp.ts.net:5000"];
|
||||
"insecure-registries" = [ "vpsfree1.raptor-carp.ts.net:5000" ];
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts.monospace = ["Berkeley Mono"];
|
||||
defaultFonts.monospace = [ "Berkeley Mono" ];
|
||||
};
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
'')
|
||||
];
|
||||
'')
|
||||
];
|
||||
|
||||
nix = {
|
||||
settings.auto-optimise-store = true;
|
||||
|
@ -99,5 +99,5 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system = {inherit stateVersion;};
|
||||
system = { inherit stateVersion; };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue