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