Pihole: update config
This commit is contained in:
parent
fb70913b68
commit
3549e9624a
|
@ -28,9 +28,6 @@ in
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
# Use Lix in place of Nix
|
|
||||||
package = inputs.lix.packages.${system}.default;
|
|
||||||
|
|
||||||
# Ensure we can still build when secondary caches are unavailable
|
# Ensure we can still build when secondary caches are unavailable
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
fallback = true
|
fallback = true
|
||||||
|
|
|
@ -27,16 +27,31 @@ in
|
||||||
|
|
||||||
${namespace} = {
|
${namespace} = {
|
||||||
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
|
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
|
||||||
|
|
||||||
|
editor = "nano";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
libraspberrypi
|
libraspberrypi
|
||||||
raspberrypifw
|
raspberrypifw
|
||||||
raspberrypi-eeprom
|
raspberrypi-eeprom
|
||||||
linuxKernel.kernels.linux_rpi4
|
linuxKernel.kernels.linux_rpi4
|
||||||
];
|
];
|
||||||
services.ssh = {
|
services = {
|
||||||
|
autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
configDir = config.${namespace}.secrets.nixConfigFolder;
|
||||||
|
onCalendar = "daily";
|
||||||
|
user = config.users.users.aires.name;
|
||||||
|
};
|
||||||
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ports = [ config.${namespace}.secrets.hosts.hevana.ssh.port ];
|
ports = [ config.${namespace}.secrets.hosts.hevana.ssh.port ];
|
||||||
};
|
};
|
||||||
|
tor = {
|
||||||
|
enable = true;
|
||||||
|
snowflake-proxy.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
users.aires.enable = true;
|
users.aires.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue