summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-04-22 22:24:58 +0200
committerAlan Pearce2023-04-23 11:18:19 +0200
commitbd01a8b97d38098e3282030e00b6af105fad0bb1 (patch)
treeb26c4a3f42f5dcc0de99d735c5ede6647b331e16
parente6b226e7de878e3ad1f200002dc114a18c81af16 (diff)
downloadnixfiles-bd01a8b97d38098e3282030e00b6af105fad0bb1.tar.lz
nixfiles-bd01a8b97d38098e3282030e00b6af105fad0bb1.tar.zst
nixfiles-bd01a8b97d38098e3282030e00b6af105fad0bb1.zip
nix: enable flake-based auto-upgrades
-rw-r--r--system/settings/configuration/nix.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index ddefdfd8..6328f32e 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -28,6 +28,7 @@
   system.autoUpgrade = {
     enable = true;
     flags = [ "--max-jobs" "2" ];
+    flake = "/home/alan/projects/alanpearce/nixfiles";
   };
   systemd.services.nixos-upgrade = {
     script = pkgs.lib.mkForce ''