diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-28 18:59:49 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-28 18:59:49 +0100 |
| commit | 138818823002e76ae3ae946bd271abf7084b8668 (patch) | |
| tree | 644307fd152c7bfd91409078466048a9c2eb7445 /nixos/nix.nix | |
| parent | fbf5e128250cbc57cba939f53690bc1c0f3261e1 (diff) | |
use root flake at /etc/nixos
Diffstat (limited to 'nixos/nix.nix')
| -rw-r--r-- | nixos/nix.nix | 4 |
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; }; |
