made nextdns default dns
This commit is contained in:
@ -37,7 +37,28 @@
|
||||
};
|
||||
};
|
||||
|
||||
boot.tmpOnTmpfs = true;
|
||||
#nextdns
|
||||
services.nextdns = {
|
||||
enable = true;
|
||||
arguments = [
|
||||
"-config"
|
||||
"aaa56c"
|
||||
"-cache-size"
|
||||
"10MB"
|
||||
"-listen"
|
||||
"127.0.0.1:53"
|
||||
"-report-client-info"
|
||||
];
|
||||
};
|
||||
|
||||
networking = {
|
||||
nameservers = [ "127.0.0.1" "::1" ];
|
||||
# If using dhcpcd:
|
||||
dhcpcd.extraConfig = "nohook resolv.conf";
|
||||
# If using NetworkManager:
|
||||
networkmanager.dns = "none";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ack
|
||||
atop
|
||||
@ -68,6 +89,8 @@
|
||||
usbutils
|
||||
wget
|
||||
zsh
|
||||
neofetch
|
||||
cargo
|
||||
];
|
||||
|
||||
documentation.enable = false;
|
||||
@ -78,6 +101,15 @@
|
||||
|
||||
nix.autoOptimiseStore = true;
|
||||
|
||||
boot = {
|
||||
tmpOnTmpfs = true;
|
||||
kernelParams = [ "quiet" ];
|
||||
consoleLogLevel = 0;
|
||||
kernel.sysctl = {
|
||||
"vm.max_map_count" = 262144;
|
||||
};
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
|
@ -31,6 +31,7 @@
|
||||
fslint
|
||||
transmission-gtk
|
||||
bitwarden
|
||||
libreoffice
|
||||
];
|
||||
|
||||
fonts = {
|
||||
|
@ -59,6 +59,10 @@
|
||||
hostname = "szczepan.ski";
|
||||
};
|
||||
|
||||
matchBlocks."nixos-vm" = {
|
||||
hostname = "192.168.122.33";
|
||||
};
|
||||
|
||||
matchBlocks."router" = {
|
||||
hostname = "192.168.1.1";
|
||||
user = "root";
|
||||
|
@ -1,27 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
extensions = (with pkgs.vscode-extensions; [
|
||||
bbenoist.Nix
|
||||
ms-python.python
|
||||
ms-azuretools.vscode-docker
|
||||
ms-vscode-remote.remote-ssh
|
||||
]) ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [{
|
||||
name = "remote-ssh-edit";
|
||||
publisher = "ms-vscode-remote";
|
||||
version = "0.47.2";
|
||||
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
|
||||
} {
|
||||
name = "rafaelmaiolla.remote-vscode";
|
||||
publisher = "rafaelmaiolla";
|
||||
}];
|
||||
vscode-with-extensions = pkgs.vscode-with-extensions.override {
|
||||
vscodeExtensions = extensions;
|
||||
};
|
||||
in {
|
||||
config = {
|
||||
environment.systemPackages = [
|
||||
vscode-with-extensions
|
||||
];
|
||||
};
|
||||
}
|
@ -92,6 +92,12 @@ in
|
||||
environment.systemPackages = with pkgs; [
|
||||
elementary-xfce-icon-theme
|
||||
gnomeExtensions.appindicator
|
||||
cpu-x
|
||||
hwinfo
|
||||
zenmonitor
|
||||
hardinfo
|
||||
phoronix-test-suite
|
||||
fswatch
|
||||
];
|
||||
|
||||
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||
|
@ -155,15 +155,6 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
#nextdns
|
||||
services.nextdns = {
|
||||
enable = true;
|
||||
arguments = [
|
||||
"-config"
|
||||
"aaa56c"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nvidia-offload
|
||||
xorg.xf86videointel
|
||||
|
Reference in New Issue
Block a user