From f022d303b5d63f9d954dc8452626591cbab2faf4 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Mon, 3 Oct 2022 10:06:35 +0200 Subject: [PATCH] Configuration to enable printing --- modules/services/edns/default.nix | 8 ++++---- nki-home/configuration.nix | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/services/edns/default.nix b/modules/services/edns/default.nix index 9cfd730..e713903 100644 --- a/modules/services/edns/default.nix +++ b/modules/services/edns/default.nix @@ -11,10 +11,10 @@ in }; config = mkIf cfg.enable { - networking.nameservers = [ "127.0.0.1" "::1" ]; - networking.resolvconf.enable = mkOverride 1000 false; - networking.dhcpcd.extraConfig = "nohook resolv.conf"; - networking.networkmanager.dns = "none"; + # networking.nameservers = [ "127.0.0.1" "::1" ]; + # networking.resolvconf.enable = mkOverride 1000 false; + # networking.dhcpcd.extraConfig = "nohook resolv.conf"; + # networking.networkmanager.dns = "none"; services.dnscrypt-proxy2 = { enable = true; diff --git a/nki-home/configuration.nix b/nki-home/configuration.nix index 8b93f21..1596a5a 100644 --- a/nki-home/configuration.nix +++ b/nki-home/configuration.nix @@ -177,6 +177,9 @@ # }; # List services that you want to enable: + services.resolved.enable = true; + services.resolved.domains = [ "127.0.0.1" ]; + services.resolved.fallbackDns = [ "127.0.0.1" ]; nki.services.edns.enable = true; nki.services.edns.ipv6 = true; services.flatpak.enable = true; @@ -268,6 +271,8 @@ }; systemd.services.navidrome.serviceConfig.BindReadOnlyPaths = lib.mkAfter [ "/etc" ]; + # Printers + services.printing.enable = true; # mpd services.mpd = {