{config, ...}: let flakeURL = config.registry.nixos.to.url; in { system.autoUpgrade = { enable = true; flake = "git+${flakeURL}"; flags = [ "--update-input" "nixpkgs" "--no-write-lock-file" "-L" # print build logs ]; dates = "02:00"; }; }