Change packages, remove dns, get rid of old options

This commit is contained in:
Artemis Tosini 2020-07-08 18:55:08 +00:00
parent a0cffdc5eb
commit a4e91a1649
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
4 changed files with 6 additions and 33 deletions

View file

@ -13,7 +13,6 @@
./packages.nix
./fonts.nix
./ssh.nix
./dns.nix
./rocm.nix
];
@ -124,7 +123,6 @@
hardware = {
cpu.amd.updateMicrocode = true;
u2f.enable = true;
bluetooth.enable = true;
opengl = {
extraPackages = [ pkgs.vaapiVdpau pkgs.libvdpau-va-gl ];

28
dns.nix
View file

@ -1,28 +0,0 @@
{ config, pkgs, lib, ... }:
{
networking = {
resolvconf.useLocalResolver = true;
networkmanager.dns = "none";
};
services.dnscrypt-proxy2 = {
enable = true;
settings = {
sources.public-resolvers = {
urls = [
"https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md"
"https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md"
];
cache_file = "/var/lib/dnscrypt-proxy2/public-resolvers.md";
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";
};
server_names = ["cloudflare"];
fallback_resolvers = ["1.1.1.1:53" "8.8.8.8:53"];
listen_addresses = ["0.0.0.0:53"];
};
};
systemd.services.dnscrypt-proxy2.serviceConfig.StateDirectory = "dnscrypt-proxy2";
}

View file

@ -21,6 +21,8 @@ in
gimp
lame
mpv
obs-studio
obs-wlrobs
opusTools
pamixer
pavucontrol
@ -63,6 +65,7 @@ in
manpages
nethogs
parted
pinentry-curses
pinentry-gtk2 # needed for tomb
powertop
psmisc
@ -167,7 +170,7 @@ in
nixpkgs-fmt
nodejs
patchelf
python3Packages.python-language-server
python37Packages.python-language-server
rnix-lsp
rr
rustup
@ -226,8 +229,8 @@ in
zathura
# Web
(chromium.override { useOzone = true; })
fullFirefox
google-chrome
tor-browser-bundle-bin
# Communication

@ -1 +1 @@
Subproject commit c0f1bdfa6fd98e0c74e6247d6e0c0238cbc29fb2
Subproject commit 10cccfe58990e339b84bec15747062ae6e824550