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

@@ -53,6 +53,7 @@
pyaudio pyaudio
pyusb pyusb
debugpy debugpy
requests
]; ];
in [ in [

View File

@@ -275,7 +275,7 @@
faster-whisper = true; faster-whisper = true;
}; };
rustdesk.enable = false; #broken rustdesk.enable = false; #broken
pihole.enable = true; #broken pihole.enable = false; #broken
code-server.enable = false; code-server.enable = false;
novnc.enable = true; novnc.enable = true;
}; };

View File

@@ -25,7 +25,7 @@
hostAddress = "192.168.100.10"; hostAddress = "192.168.100.10";
localAddress = "192.168.100.28"; localAddress = "192.168.100.28";
timeoutStartSec = "2min"; timeoutStartSec = "infinity";
config = let config = let
pkgs-us = import inputs.nixpkgs-us { system = "x86_64-linux"; }; pkgs-us = import inputs.nixpkgs-us { system = "x86_64-linux"; };
@@ -62,13 +62,13 @@
]; ];
settings = { settings = {
dns.upstreams = [ "127.0.0.1#5335" "1.1.1.1" "1.0.0.1" ]; dns.upstreams = [ "1.1.1.1" "1.0.0.1" ];
files.macvendor = lib.mkForce "/var/lib/macvendor.db"; #files.macvendor = lib.mkForce "/var/lib/pihole/macvendor.db";
}; };
}; };
unbound = { unbound = {
enable = true; enable = false;
settings = { settings = {
server = { 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 environment.systemPackages = with pkgs; let
pypkgs = ps: with ps; [ pypkgs = ps: with ps; [
@@ -91,7 +110,7 @@
(pkgs.python312.withPackages pypkgs) (pkgs.python312.withPackages pypkgs)
]; ];
system.stateVersion = "24.05"; system.stateVersion = "25.05";
}; };
}; };
}; };