diff --git a/systems/aarch64-linux/Pihole/default.nix b/systems/aarch64-linux/Pihole/default.nix index b0de39e..dd109fc 100644 --- a/systems/aarch64-linux/Pihole/default.nix +++ b/systems/aarch64-linux/Pihole/default.nix @@ -44,7 +44,6 @@ in services = { autoUpgrade = { enable = true; - extraFlags = "--build-host hevana"; configDir = config.${namespace}.secrets.nixConfigFolder; onCalendar = "daily"; user = config.users.users.aires.name; diff --git a/systems/aarch64-linux/Pihole/hardware-configuration.nix b/systems/aarch64-linux/Pihole/hardware-configuration.nix index 09425f1..ac0f2ab 100644 --- a/systems/aarch64-linux/Pihole/hardware-configuration.nix +++ b/systems/aarch64-linux/Pihole/hardware-configuration.nix @@ -31,6 +31,11 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; fsType = "ext4"; + options = [ + "lazytime" # Reduce atime writes: https://wiki.archlinux.org/title/Fstab#atime_options + "data=journal" # Commit to the journal before writing to the filesystem. + "journal_async_commit" + ]; }; swapDevices = [