1
0
Fork 0

Pihole: update config

This commit is contained in:
Aires 2024-12-18 21:49:16 +00:00
parent fb70913b68
commit 3549e9624a
2 changed files with 18 additions and 6 deletions

View file

@ -28,9 +28,6 @@ in
config = lib.mkMerge [
{
nix = {
# Use Lix in place of Nix
package = inputs.lix.packages.${system}.default;
# Ensure we can still build when secondary caches are unavailable
extraOptions = ''
fallback = true

View file

@ -27,15 +27,30 @@ in
${namespace} = {
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
editor = "nano";
packages = with pkgs; [
libraspberrypi
raspberrypifw
raspberrypi-eeprom
linuxKernel.kernels.linux_rpi4
];
services.ssh = {
enable = true;
ports = [ config.${namespace}.secrets.hosts.hevana.ssh.port ];
services = {
autoUpgrade = {
enable = true;
configDir = config.${namespace}.secrets.nixConfigFolder;
onCalendar = "daily";
user = config.users.users.aires.name;
};
ssh = {
enable = true;
ports = [ config.${namespace}.secrets.hosts.hevana.ssh.port ];
};
tor = {
enable = true;
snowflake-proxy.enable = true;
};
};
users.aires.enable = true;
};