summaryrefslogtreecommitdiff
path: root/config/auto-upgrade.nix
blob: ce1c83a354a411f09b53dd128a1db18b2619a0be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ... }:
{
  system.autoUpgrade = {
    enable = true;
    dates = "weekly";
    flake =
      ## git+file doesn't work with bare repos :(
      #if config.networking.hostName == "dragon" then
      #  "git+file:///storage/projects/nixos-config.git"
      #else
        "git+https://git.orbekk.com/nixos-config.git";
  };
}