From 138818823002e76ae3ae946bd271abf7084b8668 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 28 Feb 2023 18:59:49 +0100 Subject: use root flake at /etc/nixos --- nixos/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/nix.nix') 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; }; -- cgit v1.2.3