Pihole: tidying
This commit is contained in:
parent
75bd163475
commit
641b07bdb2
|
@ -18,12 +18,15 @@ in
|
||||||
|
|
||||||
# Connect to the network automagically
|
# Connect to the network automagically
|
||||||
networkmanager.enable = lib.mkForce false;
|
networkmanager.enable = lib.mkForce false;
|
||||||
wireless.networks = {
|
wireless = {
|
||||||
|
enable = true;
|
||||||
|
networks = {
|
||||||
"${config.${namespace}.secrets.networking.networks.home.SSID}" = {
|
"${config.${namespace}.secrets.networking.networks.home.SSID}" = {
|
||||||
psk = "${config.${namespace}.secrets.networking.networks.home.password}";
|
psk = "${config.${namespace}.secrets.networking.networks.home.password}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
${namespace} = {
|
${namespace} = {
|
||||||
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
|
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
|
||||||
|
|
|
@ -31,10 +31,8 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
|
||||||
networking.wireless.enable = true;
|
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
enableRedistributableFirmware = true;
|
||||||
raspberry-pi."4" = {
|
raspberry-pi."4" = {
|
||||||
apply-overlays-dtmerge.enable = true;
|
apply-overlays-dtmerge.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue