diff --git a/modules/nixos/system/nix/default.nix b/modules/nixos/system/nix/default.nix index 8773afa..d45e7ad 100644 --- a/modules/nixos/system/nix/default.nix +++ b/modules/nixos/system/nix/default.nix @@ -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 diff --git a/systems/aarch64-linux/Pihole/default.nix b/systems/aarch64-linux/Pihole/default.nix index 52a7a87..f1ecf34 100644 --- a/systems/aarch64-linux/Pihole/default.nix +++ b/systems/aarch64-linux/Pihole/default.nix @@ -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; };