diff --git a/system/services/containers/pihole/default.nix b/system/services/containers/pihole/default.nix index c0200f8..f4eb67c 100644 --- a/system/services/containers/pihole/default.nix +++ b/system/services/containers/pihole/default.nix @@ -19,7 +19,11 @@ */ 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 = { @@ -62,11 +66,15 @@ ]; 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; settings = { @@ -101,11 +109,11 @@ ]; }; - }; + };*/ }; - users.users."root" = { + /*users.users."root" = { openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICe6Ito5m9c4Tij8zI74L8hnd/QRchEO/cc5CH94mjMC nathan@homebox" ]; @@ -123,7 +131,7 @@ PasswordAuthentication = false; KbdInteractiveAuthentication = false; }; - }; + };*/ system.stateVersion = "25.05"; }; diff --git a/system/services/ollama/default.nix b/system/services/ollama/default.nix index d7f465f..f236d0a 100644 --- a/system/services/ollama/default.nix +++ b/system/services/ollama/default.nix @@ -13,7 +13,6 @@ acceleration = "cuda"; environmentVariables = { OLLAMA_CONTEXT_LENGTH = lib.mkDefault "16000"; - CUDA_VISIBLE_DEVICES = "0"; }; package = let pkgs-us = import nixpkgs-us {