use correct flake during auto-upgrade

This commit is contained in:
Sean Buckley 2021-04-05 23:39:07 -04:00
parent 541f853c9d
commit 92263cd97e

View file

@ -19,6 +19,8 @@ in
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
system.autoUpgrade.flake = cfg.rebuildPath;
environment.systemPackages = map environment.systemPackages = map
(x: (pkgs.writeShellScriptBin (x: (pkgs.writeShellScriptBin
"sc-${builtins.head x}" "sc-${builtins.head x}"