Fix Pihole
This commit is contained in:
parent
7ab2df21a6
commit
897dfd77b5
|
@ -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}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue