Fixed dns on dimondback and stargate
This commit is contained in:
parent
3cf8570595
commit
d456e1716b
4 changed files with 8 additions and 5 deletions
|
|
@ -24,6 +24,7 @@ in {
|
||||||
then ./facter.json
|
then ./facter.json
|
||||||
else null;
|
else null;
|
||||||
imports = lib.snowfall.fs.get-non-default-nix-files ./. ++ [../stargate/services/adguardhome.nix];
|
imports = lib.snowfall.fs.get-non-default-nix-files ./. ++ [../stargate/services/adguardhome.nix];
|
||||||
|
services.adguardhome.settings.dns.bind_hosts = [ "192.168.178.119" ];
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,8 @@ in {
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.adguardhome.settings.dns.bind_hosts = [ "192.168.178.129" ];
|
||||||
|
|
||||||
hardware.enableAllHardware = true;
|
hardware.enableAllHardware = true;
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
boot.kernelModules = [
|
boot.kernelModules = [
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ in {
|
||||||
bind_hosts = [
|
bind_hosts = [
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
"::1"
|
"::1"
|
||||||
localIp
|
|
||||||
];
|
];
|
||||||
upstream_dns = [
|
upstream_dns = [
|
||||||
"94.140.14.14"
|
"94.140.14.14"
|
||||||
|
|
@ -46,6 +45,7 @@ in {
|
||||||
safe_search = {enabled = false;};
|
safe_search = {enabled = false;};
|
||||||
rewrites =
|
rewrites =
|
||||||
map (url: {
|
map (url: {
|
||||||
|
enabled = true;
|
||||||
answer = localIp;
|
answer = localIp;
|
||||||
domain = url;
|
domain = url;
|
||||||
}) [
|
}) [
|
||||||
|
|
|
||||||
|
|
@ -15,13 +15,13 @@ with lib;
|
||||||
with lib.custom; let
|
with lib.custom; let
|
||||||
# find link here: https://apps.nextcloud.com/
|
# find link here: https://apps.nextcloud.com/
|
||||||
intros = pkgs.fetchNextcloudApp {
|
intros = pkgs.fetchNextcloudApp {
|
||||||
sha256 = "sha256-qcr81qUd3Sd7nTzoDoc63IXiVXlyZ/s+3RMCAxbMoTo=";
|
sha256 = "sha256-nWvzJ71axWNP9gFD2LaHIq/jS4OqvoceBJv57gDce+o=";
|
||||||
url = "https://packages.framasoft.org/projects/nextcloud-apps/intros/intros-1.2.0-frama.tar.gz";
|
url = "https://packages.framasoft.org/projects/nextcloud-apps/intros/intros-1.2.1.tar.gz";
|
||||||
license = "gpl3";
|
license = "gpl3";
|
||||||
};
|
};
|
||||||
external = pkgs.fetchNextcloudApp {
|
external = pkgs.fetchNextcloudApp {
|
||||||
sha256 = "sha256-xVrnahqgXIXjk9gukrFgpwZiT2poUIDl83xV8hXPisw=";
|
sha256 = "sha256-Z+Tt4KtNlHerTG8OyKFcS+lLOX7MIzKdtIX+OxidJGw=";
|
||||||
url = "https://github.com/nextcloud-releases/external/releases/download/v6.0.2/external-v6.0.2.tar.gz";
|
url = "https://github.com/nextcloud-releases/external/releases/download/v7.0.0/external-v7.0.0.tar.gz";
|
||||||
license = "gpl3";
|
license = "gpl3";
|
||||||
};
|
};
|
||||||
welcome = pkgs.fetchNextcloudApp {
|
welcome = pkgs.fetchNextcloudApp {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue