1
0
Fork 0

Fix Pihole

This commit is contained in:
Aires 2024-05-21 12:15:23 -04:00
parent 7ab2df21a6
commit 897dfd77b5

View file

@ -1,4 +1,5 @@
{ {
config,
pkgs, pkgs,
lib, lib,
nix-secrets, nix-secrets,
@ -15,10 +16,12 @@
boot.enable = false; boot.enable = false;
services.ssh = { services.ssh = {
enable = true; enable = true;
ports = [ nix-secrets.hosts.haven.ssh.port ]; ports = [ config.secrets.hosts.haven.ssh.port ];
}; };
}; };
nix.distributedBuilds = true;
networking.hostName = "Pihole"; networking.hostName = "Pihole";
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";
@ -33,8 +36,8 @@
networking = { networking = {
networkmanager.enable = lib.mkForce false; networkmanager.enable = lib.mkForce false;
wireless.networks = { wireless.networks = {
"${nix-secrets.networking.networks.home.SSID}" = { "${config.secrets.networking.networks.home.SSID}" = {
psk = "${nix-secrets.networking.networks.home.password}"; psk = "${config.secrets.networking.networks.home.password}";
}; };
}; };
}; };