nanopi: use flake to auto-upgrade
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 00:37:43 +0200
1 files changed, 8 insertions(+), 2 deletions(-)
jump to
M system/nanopi.nix → system/nanopi.nix
@@ -619,12 +619,18 @@ system.autoUpgrade = { enable = false; dates = "04:15"; randomizedDelaySec = "59 min"; - channel = "https://nixos.org/channels/nixos-unstable-small"; + flake = "https://git.alanpearce.eu/nixfiles"; allowReboot = true; rebootWindow = { lower = "01:00"; - upper = "05:00"; + upper = "06:00"; }; + flags = [ + "--no-write-lock-file" + "--override-input" + "nixpkgs" + "github:NixOS/nixpkgs/nixos-unstable-small" + ]; }; services.miniupnpd = {