Pihole: update config
This commit is contained in:
parent
fb70913b68
commit
3549e9624a
|
@ -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
|
||||
|
|
|
@ -27,16 +27,31 @@ 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 = {
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue