all repos — nixfiles @ 7e4be650767941369787164ded82d90aed2f8f57

System and user configuration, managed by nix and home-manager

nanopi: use flake to auto-upgrade
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 00:37:43 +0200
commit

7e4be650767941369787164ded82d90aed2f8f57

parent

1b0f3a6760eab3e634a62a008fee2323e1be291b

1 files changed, 8 insertions(+), 2 deletions(-)

jump to
M system/nanopi.nixsystem/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 = {