diff options
author | Alan Pearce | 2024-05-12 00:37:43 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-12 00:37:43 +0200 |
commit | 7e4be650767941369787164ded82d90aed2f8f57 (patch) | |
tree | 9dc43ee384801f2c4c834aef8619d96a10226622 | |
parent | 1b0f3a6760eab3e634a62a008fee2323e1be291b (diff) | |
download | nixfiles-7e4be650767941369787164ded82d90aed2f8f57.tar.lz nixfiles-7e4be650767941369787164ded82d90aed2f8f57.tar.zst nixfiles-7e4be650767941369787164ded82d90aed2f8f57.zip |
nanopi: use flake to auto-upgrade
-rwxr-xr-x | system/nanopi.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix index 7bfe51f0..f750f424 100755 --- a/system/nanopi.nix +++ b/system/nanopi.nix @@ -619,12 +619,18 @@ in 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 = { |