summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/nix.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/nix.nix b/nixos/nix.nix
index 15337bb..a3102a2 100644
--- a/nixos/nix.nix
+++ b/nixos/nix.nix
@@ -4,13 +4,13 @@
personal.nix = {
enable = true;
autoUpgrade = true;
- flake = "git+file:///home/qaristote/code/nix/machines/latitude-7490";
+ flake = "git+file:///etc/nixos";
gc.enable = true;
};
system.autoUpgrade.flags =
let update-input = input: [ "--update-input" input ];
- in update-input "home-manager" ++ update-input "nixos-hardware";
+ in update-input "latitude-7490/nixpkgs" ++ update-input "latitude-7490/home-manager" ++ update-input "latitude-7490/nixos-hardware";
# make auto-upgrade service lightweight
systemd.services.nixos-upgrade.unitConfig = { CPUWeight = 1; };