Configuration to enable printing

This commit is contained in:
Natsu Kagami 2022-10-03 10:06:35 +02:00
parent e68000c5eb
commit f022d303b5
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 9 additions and 4 deletions

View file

@ -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;

View file

@ -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 = {