This commit is contained in:
2026-01-15 23:07:10 -06:00
parent 640c5911f6
commit f4f69a4a25
2 changed files with 14 additions and 7 deletions

View File

@@ -19,7 +19,11 @@
*/ */
networking = { networking = {
nameservers = [ "192.168.100.28" "1.1.1.1" "1.0.0.1" ]; nameservers = [
"192.168.100.28"
"1.1.1.1"
"1.0.0.1"
];
}; };
containers.pihole = { containers.pihole = {
@@ -62,11 +66,15 @@
]; ];
settings = { settings = {
dns.upstreams = [ "127.0.0.1#5335" ]; dns.upstreams = [
#"127.0.0.1#5335"
"1.0.0.1"
"1.1.1.1"
];
}; };
}; };
unbound = { /*unbound = {
enable = true; enable = true;
settings = { settings = {
@@ -101,11 +109,11 @@
]; ];
}; };
}; };*/
}; };
users.users."root" = { /*users.users."root" = {
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICe6Ito5m9c4Tij8zI74L8hnd/QRchEO/cc5CH94mjMC nathan@homebox" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICe6Ito5m9c4Tij8zI74L8hnd/QRchEO/cc5CH94mjMC nathan@homebox"
]; ];
@@ -123,7 +131,7 @@
PasswordAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
}; };
}; };*/
system.stateVersion = "25.05"; system.stateVersion = "25.05";
}; };

View File

@@ -13,7 +13,6 @@
acceleration = "cuda"; acceleration = "cuda";
environmentVariables = { environmentVariables = {
OLLAMA_CONTEXT_LENGTH = lib.mkDefault "16000"; OLLAMA_CONTEXT_LENGTH = lib.mkDefault "16000";
CUDA_VISIBLE_DEVICES = "0";
}; };
package = let package = let
pkgs-us = import nixpkgs-us { pkgs-us = import nixpkgs-us {