no pihole

This commit is contained in:
2025-08-06 15:27:09 -05:00
parent 352574804a
commit d39d4bbeec
3 changed files with 26 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
hostAddress = "192.168.100.10";
localAddress = "192.168.100.28";
timeoutStartSec = "2min";
timeoutStartSec = "infinity";
config = let
pkgs-us = import inputs.nixpkgs-us { system = "x86_64-linux"; };
@@ -62,13 +62,13 @@
];
settings = {
dns.upstreams = [ "127.0.0.1#5335" "1.1.1.1" "1.0.0.1" ];
files.macvendor = lib.mkForce "/var/lib/macvendor.db";
dns.upstreams = [ "1.1.1.1" "1.0.0.1" ];
#files.macvendor = lib.mkForce "/var/lib/pihole/macvendor.db";
};
};
unbound = {
enable = true;
enable = false;
settings = {
server = {
@@ -81,6 +81,25 @@
};
users.users."root" = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICe6Ito5m9c4Tij8zI74L8hnd/QRchEO/cc5CH94mjMC nathan@homebox"
];
};
#networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
networking.firewall.allowedTCPPorts = [ 22 ];
services.openssh = {
enable = true;
settings = {
PermitRootLogin = lib.mkForce "yes";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
environment.systemPackages = with pkgs; let
pypkgs = ps: with ps; [
@@ -91,7 +110,7 @@
(pkgs.python312.withPackages pypkgs)
];
system.stateVersion = "24.05";
system.stateVersion = "25.05";
};
};
};