summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-28 18:59:49 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 18:59:49 +0100
commit138818823002e76ae3ae946bd271abf7084b8668 (patch)
tree644307fd152c7bfd91409078466048a9c2eb7445 /nixos
parentfbf5e128250cbc57cba939f53690bc1c0f3261e1 (diff)
use root flake at /etc/nixos
Diffstat (limited to 'nixos')
-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; };