From 7da4fa1bf11b7d6d6f259909c9446eac12fe0d52 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 29 Jan 2023 15:30:13 +0100 Subject: [PATCH] machines/nix: enable autoUpgrade --- machines/core/nix.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/machines/core/nix.nix b/machines/core/nix.nix index b744b92..7a62982 100644 --- a/machines/core/nix.nix +++ b/machines/core/nix.nix @@ -27,12 +27,11 @@ }; }; - # support auto upgrade with flakes - system.autoUpgrade.flags = [ - "--update-input" - "nixpkgs" - "--commit-lock-file" - ]; + # auto upgrade with own flakes + system.autoUpgrade = { + enable = true; + flake = "github:Stunkymonkey/nixos"; + }; environment.systemPackages = with pkgs; [ nix-index